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:
  • Field Details

  • Method Details

    • of

    • count

      public final int count()
      Required - Number of entries in the cache.

      API name: count

    • memory

      @Nullable public final String memory()
      Human-readable amount of memory taken up by the cache.

      API name: memory

    • memoryInBytes

      public final Number 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

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupSecurityRolesDlsBitSetCacheDeserializer

      protected static void setupSecurityRolesDlsBitSetCacheDeserializer(ObjectDeserializer<SecurityRolesDlsBitSetCache.Builder> op)