Class Scripting

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

@JsonpDeserializable public class Scripting 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

    • compilations

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

      API name: compilations

    • compilationsHistory

      public final Map<String,Long> compilationsHistory()
      Contains this recent history of script compilations.

      API name: compilations_history

    • 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

    • contexts

      public final List<Context> contexts()
      API name: contexts
    • 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
    • setupScriptingDeserializer

      protected static void setupScriptingDeserializer(ObjectDeserializer<Scripting.Builder> op)