Class GeoIpDownloadStatistics
- java.lang.Object
-
- org.opensearch.client.opensearch.ingest.geo_ip_stats.GeoIpDownloadStatistics
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class GeoIpDownloadStatistics extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeoIpDownloadStatistics.BuilderBuilder forGeoIpDownloadStatistics.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GeoIpDownloadStatistics>_DESERIALIZERJson deserializer forGeoIpDownloadStatistics
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intdatabaseCount()Required - Current number of databases available for use.intfailedDownloads()Required - Total number of failed database downloads.static GeoIpDownloadStatisticsof(java.util.function.Function<GeoIpDownloadStatistics.Builder,ObjectBuilder<GeoIpDownloadStatistics>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupGeoIpDownloadStatisticsDeserializer(ObjectDeserializer<GeoIpDownloadStatistics.Builder> op)intskippedUpdates()Required - Total number of database updates skipped.intsuccessfulDownloads()Required - Total number of successful database downloads.inttotalDownloadTime()Required - Total milliseconds spent downloading databases.
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<GeoIpDownloadStatistics> _DESERIALIZER
Json deserializer forGeoIpDownloadStatistics
-
-
Method Detail
-
of
public static GeoIpDownloadStatistics of(java.util.function.Function<GeoIpDownloadStatistics.Builder,ObjectBuilder<GeoIpDownloadStatistics>> fn)
-
successfulDownloads
public final int successfulDownloads()
Required - Total number of successful database downloads.API name:
successful_downloads
-
failedDownloads
public final int failedDownloads()
Required - Total number of failed database downloads.API name:
failed_downloads
-
totalDownloadTime
public final int totalDownloadTime()
Required - Total milliseconds spent downloading databases.API name:
total_download_time
-
databaseCount
public final int databaseCount()
Required - Current number of databases available for use.API name:
database_count
-
skippedUpdates
public final int skippedUpdates()
Required - Total number of database updates skipped.API name:
skipped_updates
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupGeoIpDownloadStatisticsDeserializer
protected static void setupGeoIpDownloadStatisticsDeserializer(ObjectDeserializer<GeoIpDownloadStatistics.Builder> op)
-
-