Class ShardQueryCache
java.lang.Object
co.elastic.clients.elasticsearch.indices.stats.ShardQueryCache
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class ShardQueryCache extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShardQueryCache.BuilderBuilder forShardQueryCache. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ShardQueryCache>_DESERIALIZERJson deserializer forShardQueryCache -
Constructor Summary
Constructors Constructor Description ShardQueryCache(ShardQueryCache.Builder builder)ShardQueryCache(java.util.function.Function<ShardQueryCache.Builder,ShardQueryCache.Builder> fn) -
Method Summary
Modifier and Type Method Description longcacheCount()API name:cache_countlongcacheSize()API name:cache_sizelongevictions()API name:evictionslonghitCount()API name:hit_countlongmemorySizeInBytes()API name:memory_size_in_byteslongmissCount()API name:miss_countvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupShardQueryCacheDeserializer(DelegatingDeserializer<ShardQueryCache.Builder> op)longtotalCount()API name:total_countMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forShardQueryCache
-
-
Constructor Details
-
ShardQueryCache
-
ShardQueryCache
public ShardQueryCache(java.util.function.Function<ShardQueryCache.Builder,ShardQueryCache.Builder> fn)
-
-
Method Details
-
cacheCount
public long cacheCount()API name:cache_count -
cacheSize
public long cacheSize()API name:cache_size -
evictions
public long evictions()API name:evictions -
hitCount
public long hitCount()API name:hit_count -
memorySizeInBytes
public long memorySizeInBytes()API name:memory_size_in_bytes -
missCount
public long missCount()API name:miss_count -
totalCount
public long totalCount()API name:total_count -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupShardQueryCacheDeserializer
protected static void setupShardQueryCacheDeserializer(DelegatingDeserializer<ShardQueryCache.Builder> op)
-