Class ScriptCache

java.lang.Object
co.elastic.clients.elasticsearch.nodes.ScriptCache
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class ScriptCache extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • cacheEvictions

      @Nullable public final Long cacheEvictions()
      Total number of times the script cache has evicted old data.

      API name: cache_evictions

    • compilationLimitTriggered

      @Nullable public final Long compilationLimitTriggered()
      Total number of times the script compilation circuit breaker has limited inline script compilations.

      API name: compilation_limit_triggered

    • compilations

      @Nullable public final Long compilations()
      Total number of inline script compilations performed by the node.

      API name: compilations

    • context

      @Nullable public final String context()
      API name: context
    • 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
    • setupScriptCacheDeserializer

      protected static void setupScriptCacheDeserializer(ObjectDeserializer<ScriptCache.Builder> op)