Class ShardQueryCache
java.lang.Object
co.elastic.clients.elasticsearch.indices.stats.ShardQueryCache
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ShardQueryCache extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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 -
Method Summary
Modifier and Type Method Description longcacheCount()Required - API name:cache_countlongcacheSize()Required - API name:cache_sizelongevictions()Required - API name:evictionslonghitCount()Required - API name:hit_countlongmemorySizeInBytes()Required - API name:memory_size_in_byteslongmissCount()Required - API name:miss_countstatic ShardQueryCacheof(java.util.function.Function<ShardQueryCache.Builder,ObjectBuilder<ShardQueryCache>> 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 voidsetupShardQueryCacheDeserializer(ObjectDeserializer<ShardQueryCache.Builder> op)java.lang.StringtoString()longtotalCount()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 forShardQueryCache
-
-
Method Details
-
of
public static ShardQueryCache of(java.util.function.Function<ShardQueryCache.Builder,ObjectBuilder<ShardQueryCache>> fn) -
cacheCount
public final long cacheCount()Required - API name:cache_count -
cacheSize
public final long cacheSize()Required - API name:cache_size -
evictions
public final long evictions()Required - API name:evictions -
hitCount
public final long hitCount()Required - API name:hit_count -
memorySizeInBytes
public final long memorySizeInBytes()Required - API name:memory_size_in_bytes -
missCount
public final long missCount()Required - API name:miss_count -
totalCount
public final long 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
-
setupShardQueryCacheDeserializer
protected static void setupShardQueryCacheDeserializer(ObjectDeserializer<ShardQueryCache.Builder> op)
-