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). |
compilepublic Object doCompile(Script script) throws ScriptCompilationException
doCompile in class AbstractLocalScriptExecutor<Object>ScriptCompilationExceptionpublic Object execute(Script script, Object compiledScript, Map<String,Object> parameters) throws ScriptExecutionException
LocalScriptExecutorScriptExecutionExceptionpublic void close(Object compiledScript)
LocalScriptExecutorpublic boolean isThreadSafe()
LocalScriptExecutortrue 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.