Class QueryCacheStats
java.lang.Object
co.elastic.clients.elasticsearch._types.QueryCacheStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class QueryCacheStats extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQueryCacheStats.BuilderBuilder forQueryCacheStats. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<QueryCacheStats>_DESERIALIZERJson deserializer forQueryCacheStats -
Method Summary
Modifier and Type Method Description intcacheCount()Required - API name:cache_countintcacheSize()Required - API name:cache_sizeintevictions()Required - API name:evictionsinthitCount()Required - API name:hit_countjava.lang.StringmemorySize()API name:memory_sizeintmemorySizeInBytes()Required - API name:memory_size_in_bytesintmissCount()Required - API name:miss_countstatic QueryCacheStatsof(java.util.function.Function<QueryCacheStats.Builder,ObjectBuilder<QueryCacheStats>> 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 voidsetupQueryCacheStatsDeserializer(ObjectDeserializer<QueryCacheStats.Builder> op)java.lang.StringtoString()inttotalCount()Required - API name:total_countMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forQueryCacheStats
-
-
Method Details
-
of
public static QueryCacheStats of(java.util.function.Function<QueryCacheStats.Builder,ObjectBuilder<QueryCacheStats>> fn) -
cacheCount
public final int cacheCount()Required - API name:cache_count -
cacheSize
public final int cacheSize()Required - API name:cache_size -
evictions
public final int evictions()Required - API name:evictions -
hitCount
public final int hitCount()Required - API name:hit_count -
memorySize
@Nullable public final java.lang.String memorySize()API name:memory_size -
memorySizeInBytes
public final int memorySizeInBytes()Required - API name:memory_size_in_bytes -
missCount
public final int missCount()Required - API name:miss_count -
totalCount
public final int totalCount()Required - API name:total_count -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupQueryCacheStatsDeserializer
protected static void setupQueryCacheStatsDeserializer(ObjectDeserializer<QueryCacheStats.Builder> op)
-