Class ScriptStatsBase

java.lang.Object
org.opensearch.client.opensearch.nodes.stats.ScriptStatsBase
All Implemented Interfaces:
JsonpSerializable, PlainJsonSerializable
Direct Known Subclasses:
ScriptContextStats, ScriptStats

@Generated("org.opensearch.client.codegen.CodeGenerator") public abstract class ScriptStatsBase extends Object implements PlainJsonSerializable
  • Constructor Details

  • Method Details

    • cacheEvictions

      public final long cacheEvictions()
      Required - Total number of times the script cache has evicted old data.

      API name: cache_evictions

    • compilationLimitTriggered

      public final long compilationLimitTriggered()
      Required - Total number of times the script compilation circuit breaker has limited inline script compilations.

      API name: compilation_limit_triggered

    • compilations

      public final long compilations()
      Required - Total number of inline script compilations performed by the node.

      API name: compilations

    • 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)
    • setupScriptStatsBaseDeserializer

      protected static <BuilderT extends ScriptStatsBase.AbstractBuilder<BuilderT>> void setupScriptStatsBaseDeserializer(ObjectDeserializer<BuilderT> op)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object