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 SummaryConstructors
- 
Method SummaryModifier 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.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
cacheEvictionsTotal number of times the script cache has evicted old data.API name: cache_evictions
- 
compilationLimitTriggeredTotal number of times the script compilation circuit breaker has limited inline script compilations.API name: compilation_limit_triggered
- 
compilationsTotal number of inline script compilations performed by the node.API name: compilations
- 
contextAPI name:context
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<ScriptCache.Builder>
 
- 
buildBuilds aScriptCache.- Specified by:
- buildin interface- ObjectBuilder<ScriptCache>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-