public class JRubyLocalScriptExecutor extends AbstractLocalScriptExecutor<JRubyLocalScriptExecutor.JRubyCompiledScript>
| Modifier and Type | Class and Description |
|---|---|
static class |
JRubyLocalScriptExecutor.JRubyCompiledScript |
| Constructor and Description |
|---|
JRubyLocalScriptExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(JRubyLocalScriptExecutor.JRubyCompiledScript compiledScript)
Closes the compiled script.
|
JRubyLocalScriptExecutor.JRubyCompiledScript |
doCompile(Script script) |
Object |
execute(Script script,
JRubyLocalScriptExecutor.JRubyCompiledScript 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 JRubyLocalScriptExecutor.JRubyCompiledScript doCompile(Script script) throws ScriptCompilationException
doCompile in class AbstractLocalScriptExecutor<JRubyLocalScriptExecutor.JRubyCompiledScript>ScriptCompilationExceptionpublic Object execute(Script script, JRubyLocalScriptExecutor.JRubyCompiledScript compiledScript, Map<String,Object> parameters) throws ScriptExecutionException
LocalScriptExecutorScriptExecutionExceptionpublic void close(JRubyLocalScriptExecutor.JRubyCompiledScript 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.