Class CacheItemStats
java.lang.Object
org.opensearch.client.opensearch.ltr.CacheItemStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<CacheItemStats.Builder,CacheItemStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class CacheItemStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<CacheItemStats.Builder,CacheItemStats>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CacheItemStats> Json deserializer forCacheItemStats -
Method Summary
Modifier and TypeMethodDescriptionstatic CacheItemStats.Builderbuilder()final Integercount()Count of cached items.booleaninthashCode()static CacheItemStatsfinal Integerram()Memory usage in bytes.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forCacheItemStats
-
-
Method Details
-
of
-
count
Count of cached items.API name:
count -
ram
Memory usage in bytes.API name:
ram -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<CacheItemStats.Builder,CacheItemStats> - Returns:
- a new builder instance.
-
builder
-
setupCacheItemStatsDeserializer
protected static void setupCacheItemStatsDeserializer(ObjectDeserializer<CacheItemStats.Builder> op) -
hashCode
public int hashCode() -
equals
-