Class ShardQueryCache

All Implemented Interfaces:

public class ShardQueryCache
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static ShardQueryCache of​(java.util.function.Function<ShardQueryCache.Builder,​ObjectBuilder<ShardQueryCache>> fn)
    • cacheCount

      public final long cacheCount()
      Required - API name: cache_count
    • cacheSize

      public final long cacheSize()
      Required - API name: cache_size
    • evictions

      public final long evictions()
      Required - API name: evictions
    • hitCount

      public final long hitCount()
      Required - API name: hit_count
    • memorySizeInBytes

      public final long memorySizeInBytes()
      Required - API name: memory_size_in_bytes
    • missCount

      public final long missCount()
      Required - API name: miss_count
    • totalCount

      public final long totalCount()
      Required - API name: total_count
    • serialize

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

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupShardQueryCacheDeserializer

      protected static void setupShardQueryCacheDeserializer​(ObjectDeserializer<ShardQueryCache.Builder> op)