Class GeoIpDownloadStatistics
java.lang.Object
co.elastic.clients.elasticsearch.ingest.geo_ip_stats.GeoIpDownloadStatistics
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final 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 -
Constructor Summary
Constructors Constructor Description GeoIpDownloadStatistics(GeoIpDownloadStatistics.Builder builder)GeoIpDownloadStatistics(java.util.function.Function<GeoIpDownloadStatistics.Builder,GeoIpDownloadStatistics.Builder> fn) -
Method Summary
Modifier and Type Method Description intdatabaseCount()Current number of databases available for use.intfailedDownloads()Total number of failed database downloads.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(DelegatingDeserializer<GeoIpDownloadStatistics.Builder> op)intskippedUpdates()Total number of database updates skipped.intsuccessfulDownloads()Total number of successful database downloads.inttotalDownloadTime()Total milliseconds spent downloading databases.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGeoIpDownloadStatistics
-
-
Constructor Details
-
GeoIpDownloadStatistics
-
GeoIpDownloadStatistics
public GeoIpDownloadStatistics(java.util.function.Function<GeoIpDownloadStatistics.Builder,GeoIpDownloadStatistics.Builder> fn)
-
-
Method Details
-
successfulDownloads
public int successfulDownloads()Total number of successful database downloads.API name:
successful_downloads -
failedDownloads
public int failedDownloads()Total number of failed database downloads.API name:
failed_downloads -
totalDownloadTime
public int totalDownloadTime()Total milliseconds spent downloading databases.API name:
total_download_time -
databaseCount
public int databaseCount()Current number of databases available for use.API name:
database_count -
skippedUpdates
public int skippedUpdates()Total number of database updates skipped.API name:
skipped_updates -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupGeoIpDownloadStatisticsDeserializer
protected static void setupGeoIpDownloadStatisticsDeserializer(DelegatingDeserializer<GeoIpDownloadStatistics.Builder> op)
-