Package org.elasticsearch.script
Class MockScriptService
java.lang.Object
org.elasticsearch.script.ScriptService
org.elasticsearch.script.MockScriptService
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,ClusterStateApplier
public class MockScriptService extends ScriptService
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MockScriptService.TestPlugin
Marker plugin used byMockNode
to enableMockScriptService
. -
Field Summary
Fields inherited from class org.elasticsearch.script.ScriptService
ALLOW_NONE, CONTEXTS_ALLOWED_SETTING, SCRIPT_CACHE_EXPIRE_SETTING, SCRIPT_CACHE_SIZE_SETTING, SCRIPT_GENERAL_CACHE_EXPIRE_SETTING, SCRIPT_GENERAL_CACHE_SIZE_SETTING, SCRIPT_GENERAL_MAX_COMPILATIONS_RATE_SETTING, SCRIPT_MAX_COMPILATIONS_RATE_SETTING, SCRIPT_MAX_SIZE_IN_BYTES, TYPES_ALLOWED_SETTING
-
Constructor Summary
Constructors Constructor Description MockScriptService(Settings settings, java.util.Map<java.lang.String,ScriptEngine> engines, java.util.Map<java.lang.String,ScriptContext<?>> contexts)
-
Method Summary
Methods inherited from class org.elasticsearch.script.ScriptService
applyClusterState, close, compile, deleteStoredScript, getContextInfos, getScriptLanguages, getStoredScript, isAnyContextEnabled, isContextEnabled, isLangSupported, isTypeEnabled, putStoredScript, stats
-
Constructor Details
-
MockScriptService
public MockScriptService(Settings settings, java.util.Map<java.lang.String,ScriptEngine> engines, java.util.Map<java.lang.String,ScriptContext<?>> contexts)
-