Class ShardQueryCache
java.lang.Object
co.elastic.clients.elasticsearch.indices.stats.ShardQueryCache
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<ShardQueryCache>
Json deserializer forShardQueryCache
-
Method Summary
Modifier and TypeMethodDescriptionfinal long
Required - API name:cache_count
final long
Required - API name:cache_size
final long
Required - API name:evictions
final long
hitCount()
Required - API name:hit_count
final long
Required - API name:memory_size_in_bytes
final long
Required - API name:miss_count
static ShardQueryCache
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
final long
Required - API name:total_count
-
Field Details
-
_DESERIALIZER
Json deserializer forShardQueryCache
-
-
Method Details
-
of
public static ShardQueryCache of(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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupShardQueryCacheDeserializer
protected static void setupShardQueryCacheDeserializer(ObjectDeserializer<ShardQueryCache.Builder> op)
-