Class ScriptCache.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ScriptCache.Builder>
co.elastic.clients.elasticsearch.nodes.ScriptCache.Builder
- All Implemented Interfaces:
WithJson<ScriptCache.Builder>,ObjectBuilder<ScriptCache>
- Enclosing class:
- ScriptCache
public static class ScriptCache.Builder
extends WithJsonObjectBuilderBase<ScriptCache.Builder>
implements ObjectBuilder<ScriptCache>
Builder for
ScriptCache.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aScriptCache.final ScriptCache.BuildercacheEvictions(Long value) Total number of times the script cache has evicted old data.final ScriptCache.BuildercompilationLimitTriggered(Long value) Total number of times the script compilation circuit breaker has limited inline script compilations.final ScriptCache.Buildercompilations(Long value) Total number of inline script compilations performed by the node.final ScriptCache.BuilderAPI name:contextprotected ScriptCache.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cacheEvictions
Total number of times the script cache has evicted old data.API name:
cache_evictions -
compilationLimitTriggered
Total number of times the script compilation circuit breaker has limited inline script compilations.API name:
compilation_limit_triggered -
compilations
Total number of inline script compilations performed by the node.API name:
compilations -
context
API name:context -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ScriptCache.Builder>
-
build
Builds aScriptCache.- Specified by:
buildin interfaceObjectBuilder<ScriptCache>- Throws:
NullPointerException- if some of the required fields are null.
-