Class QueryCacheStats
java.lang.Object
co.elastic.clients.elasticsearch._types.QueryCacheStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class QueryCacheStats extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QueryCacheStats.Builder
Builder forQueryCacheStats
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<QueryCacheStats>
_DESERIALIZER
Json deserializer forQueryCacheStats
-
Method Summary
Modifier and Type Method Description int
cacheCount()
Required - API name:cache_count
int
cacheSize()
Required - API name:cache_size
int
evictions()
Required - API name:evictions
int
hitCount()
Required - API name:hit_count
java.lang.String
memorySize()
API name:memory_size
int
memorySizeInBytes()
Required - API name:memory_size_in_bytes
int
missCount()
Required - API name:miss_count
static QueryCacheStats
of(java.util.function.Function<QueryCacheStats.Builder,ObjectBuilder<QueryCacheStats>> fn)
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
setupQueryCacheStatsDeserializer(ObjectDeserializer<QueryCacheStats.Builder> op)
java.lang.String
toString()
int
totalCount()
Required - API name:total_count
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forQueryCacheStats
-
-
Method Details
-
of
public static QueryCacheStats of(java.util.function.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
@Nullable public final java.lang.String 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
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupQueryCacheStatsDeserializer
protected static void setupQueryCacheStatsDeserializer(ObjectDeserializer<QueryCacheStats.Builder> op)
-