public class Jsr223LocalScriptExecutor extends AbstractLocalScriptExecutor<Object>
Constructor and Description |
---|
Jsr223LocalScriptExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
close(Object compiledScript)
Closes the compiled script.
|
Object |
doCompile(Script script) |
Object |
execute(Script script,
Object compiledScript,
Map<String,Object> parameters)
Executes the given compiled script.
|
boolean |
isThreadSafe()
Returns
true if the same compiled script can be used by different threads (note,
parameres or bindings usually make a scripting library not thread safe). |
compile
public Object doCompile(Script script) throws ScriptCompilationException
doCompile
in class AbstractLocalScriptExecutor<Object>
ScriptCompilationException
public Object execute(Script script, Object compiledScript, Map<String,Object> parameters) throws ScriptExecutionException
LocalScriptExecutor
ScriptExecutionException
public void close(Object compiledScript)
LocalScriptExecutor
public boolean isThreadSafe()
LocalScriptExecutor
true
if the same compiled script can be used by different threads (note,
parameres or bindings usually make a scripting library not thread safe).Copyright © GigaSpaces.