public interface LocalScriptExecutor<T>
| Modifier and Type | Method and Description | 
|---|---|
| void | close(T compiledScript)Closes the compiled script. | 
| T | compile(Script script)Compiles the given sctipt. | 
| Object | execute(Script script,
       T compiledScript,
       Map<String,Object> parameters)Executes the given compiled script. | 
| boolean | isThreadSafe()Returns  trueif the same compiled script can be used by different threads (note,
 parameres or bindings usually make a scripting library not thread safe). | 
T compile(Script script) throws ScriptCompilationException
ScriptCompilationExceptionObject execute(Script script, T compiledScript, Map<String,Object> parameters) throws ScriptExecutionException
ScriptExecutionExceptionvoid close(T compiledScript)
boolean isThreadSafe()
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.