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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedScriptStatsBase(ScriptStatsBase.AbstractBuilder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionfinal longRequired - Total number of times the script cache has evicted old data.final longRequired - Total number of times the script compilation circuit breaker has limited inline script compilations.final longRequired - Total number of inline script compilations performed by the node.booleaninthashCode()voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <BuilderT extends ScriptStatsBase.AbstractBuilder<BuilderT>>
voidsetupScriptStatsBaseDeserializer(ObjectDeserializer<BuilderT> op) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Constructor Details
-
ScriptStatsBase
-
-
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
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupScriptStatsBaseDeserializer
protected static <BuilderT extends ScriptStatsBase.AbstractBuilder<BuilderT>> void setupScriptStatsBaseDeserializer(ObjectDeserializer<BuilderT> op) -
hashCode
public int hashCode() -
equals
-