Class CacheStats
java.lang.Object
co.elastic.clients.elasticsearch.enrich.stats.CacheStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class CacheStats extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCacheStats.BuilderBuilder forCacheStats. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<CacheStats>_DESERIALIZERJson deserializer forCacheStats -
Method Summary
Modifier and Type Method Description intcount()Required - API name:countintevictions()Required - API name:evictionsinthits()Required - API name:hitsintmisses()Required - API name:missesjava.lang.StringnodeId()Required - API name:node_idstatic CacheStatsof(java.util.function.Function<CacheStats.Builder,ObjectBuilder<CacheStats>> 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 voidsetupCacheStatsDeserializer(ObjectDeserializer<CacheStats.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forCacheStats
-
-
Method Details
-
of
public static CacheStats of(java.util.function.Function<CacheStats.Builder,ObjectBuilder<CacheStats>> fn) -
nodeId
public final java.lang.String nodeId()Required - API name:node_id -
count
public final int count()Required - API name:count -
hits
public final int hits()Required - API name:hits -
misses
public final int misses()Required - API name:misses -
evictions
public final int evictions()Required - API name:evictions -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupCacheStatsDeserializer
-