Class Shared
java.lang.Object
co.elastic.clients.elasticsearch.searchable_snapshots.cache_stats.Shared
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Shared extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Shared.Builder
Builder forShared
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Shared>
_DESERIALIZER
Json deserializer forShared
-
Method Summary
Modifier and Type Method Description java.lang.String
bytesReadInBytes()
Required - API name:bytes_read_in_bytes
java.lang.String
bytesWrittenInBytes()
Required - API name:bytes_written_in_bytes
long
evictions()
Required - API name:evictions
int
numRegions()
Required - API name:num_regions
static Shared
of(java.util.function.Function<Shared.Builder,ObjectBuilder<Shared>> fn)
long
reads()
Required - API name:reads
java.lang.String
regionSizeInBytes()
Required - API name:region_size_in_bytes
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
setupSharedDeserializer(ObjectDeserializer<Shared.Builder> op)
java.lang.String
sizeInBytes()
Required - API name:size_in_bytes
java.lang.String
toString()
long
writes()
Required - API name:writes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forShared
-
-
Method Details
-
of
-
reads
public final long reads()Required - API name:reads
-
bytesReadInBytes
public final java.lang.String bytesReadInBytes()Required - API name:bytes_read_in_bytes
-
writes
public final long writes()Required - API name:writes
-
bytesWrittenInBytes
public final java.lang.String bytesWrittenInBytes()Required - API name:bytes_written_in_bytes
-
evictions
public final long evictions()Required - API name:evictions
-
numRegions
public final int numRegions()Required - API name:num_regions
-
sizeInBytes
public final java.lang.String sizeInBytes()Required - API name:size_in_bytes
-
regionSizeInBytes
public final java.lang.String regionSizeInBytes()Required - API name:region_size_in_bytes
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-