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 - API name:cache_count
final int
Required - API name:cache_size
final int
Required - API name:evictions
final int
hitCount()
Required - API name:hit_count
final String
API name:memory_size
final int
Required - API name:memory_size_in_bytes
final int
Required - API name:miss_count
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 - API name:total_count
-
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 - 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
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupQueryCacheStatsDeserializer
protected static void setupQueryCacheStatsDeserializer(ObjectDeserializer<QueryCacheStats.Builder> op)
-