Class GeoIpDownloadStatistics
java.lang.Object
co.elastic.clients.elasticsearch.ingest.geo_ip_stats.GeoIpDownloadStatistics
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class GeoIpDownloadStatistics
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GeoIpDownloadStatistics>Json deserializer forGeoIpDownloadStatistics -
Method Summary
Modifier and TypeMethodDescriptionfinal intRequired - Current number of databases available for use.final intRequired - Total number of databases not updated after 30 daysfinal intRequired - Total number of failed database downloads.static GeoIpDownloadStatisticsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal intRequired - Total number of database updates skipped.final intRequired - Total number of successful database downloads.toString()final longRequired - Total milliseconds spent downloading databases.
-
Field Details
-
_DESERIALIZER
Json deserializer forGeoIpDownloadStatistics
-
-
Method Details
-
of
public static GeoIpDownloadStatistics of(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 long totalDownloadTime()Required - Total milliseconds spent downloading databases.API name:
total_download_time -
databasesCount
public final int databasesCount()Required - Current number of databases available for use.API name:
databases_count -
skippedUpdates
public final int skippedUpdates()Required - Total number of database updates skipped.API name:
skipped_updates -
expiredDatabases
public final int expiredDatabases()Required - Total number of databases not updated after 30 daysAPI name:
expired_databases -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGeoIpDownloadStatisticsDeserializer
protected static void setupGeoIpDownloadStatisticsDeserializer(ObjectDeserializer<GeoIpDownloadStatistics.Builder> op)
-