Class QueryCacheStats
java.lang.Object
co.elastic.clients.elasticsearch._types.QueryCacheStats
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<QueryCacheStats>
Json deserializer forQueryCacheStats
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
Required - Total number of entries added to the query cache across all shards assigned to selected nodes.final int
Required - Total number of entries currently in the query cache across all shards assigned to selected nodes.final int
Required - Total number of query cache evictions across all shards assigned to selected nodes.final int
hitCount()
Required - Total count of query cache hits across all shards assigned to selected nodes.final String
Total amount of memory used for the query cache across all shards assigned to selected nodes.final long
Required - Total amount, in bytes, of memory used for the query cache across all shards assigned to selected nodes.final int
Required - Total count of query cache misses across all shards assigned to selected nodes.static QueryCacheStats
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 int
Required - Total count of hits and misses in the query cache across all shards assigned to selected nodes.
-
Field Details
-
_DESERIALIZER
Json deserializer forQueryCacheStats
-
-
Method Details
-
of
public static QueryCacheStats of(Function<QueryCacheStats.Builder, ObjectBuilder<QueryCacheStats>> fn) -
cacheCount
public final int cacheCount()Required - Total number of entries added to the query cache across all shards assigned to selected nodes. This number includes current and evicted entries.API name:
cache_count
-
cacheSize
public final int cacheSize()Required - Total number of entries currently in the query cache across all shards assigned to selected nodes.API name:
cache_size
-
evictions
public final int evictions()Required - Total number of query cache evictions across all shards assigned to selected nodes.API name:
evictions
-
hitCount
public final int hitCount()Required - Total count of query cache hits across all shards assigned to selected nodes.API name:
hit_count
-
memorySize
Total amount of memory used for the query cache across all shards assigned to selected nodes.API name:
memory_size
-
memorySizeInBytes
public final long memorySizeInBytes()Required - Total amount, in bytes, of memory used for the query cache across all shards assigned to selected nodes.API name:
memory_size_in_bytes
-
missCount
public final int missCount()Required - Total count of query cache misses across all shards assigned to selected nodes.API name:
miss_count
-
totalCount
public final int totalCount()Required - Total count of hits and misses in the query cache across all shards assigned to selected nodes.API name:
total_count
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupQueryCacheStatsDeserializer
protected static void setupQueryCacheStatsDeserializer(ObjectDeserializer<QueryCacheStats.Builder> op)
-