Class SecurityRolesDlsBitSetCache
java.lang.Object
co.elastic.clients.elasticsearch.xpack.usage.SecurityRolesDlsBitSetCache
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class SecurityRolesDlsBitSetCache
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SecurityRolesDlsBitSetCache>Json deserializer forSecurityRolesDlsBitSetCache -
Method Summary
Modifier and TypeMethodDescriptionfinal intcount()Required - Number of entries in the cache.final longRequired - Total number of cache evictions.final longhits()Required - Total number of cache hits.final longRequired - Total combined time spent in cache for hits in milliseconds.final Stringmemory()Human-readable amount of memory taken up by the cache.final NumberRequired - Memory taken up by the cache in bytes.final longmisses()Required - Total number of cache misses.final longRequired - Total combined time spent in cache for misses in milliseconds.static SecurityRolesDlsBitSetCachevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupSecurityRolesDlsBitSetCacheDeserializer(ObjectDeserializer<SecurityRolesDlsBitSetCache.Builder> op) toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forSecurityRolesDlsBitSetCache
-
-
Method Details
-
of
-
count
public final int count()Required - Number of entries in the cache.API name:
count -
memory
Human-readable amount of memory taken up by the cache.API name:
memory -
memoryInBytes
Required - Memory taken up by the cache in bytes.API name:
memory_in_bytes -
hits
public final long hits()Required - Total number of cache hits.API name:
hits -
misses
public final long misses()Required - Total number of cache misses.API name:
misses -
evictions
public final long evictions()Required - Total number of cache evictions.API name:
evictions -
hitsTimeInMillis
public final long hitsTimeInMillis()Required - Total combined time spent in cache for hits in milliseconds.API name:
hits_time_in_millis -
missesTimeInMillis
public final long missesTimeInMillis()Required - Total combined time spent in cache for misses in milliseconds.API name:
misses_time_in_millis -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSecurityRolesDlsBitSetCacheDeserializer
protected static void setupSecurityRolesDlsBitSetCacheDeserializer(ObjectDeserializer<SecurityRolesDlsBitSetCache.Builder> op)
-