org.openspaces.remoting.scripting
Class JRubyLocalScriptExecutor
java.lang.Object
  
org.openspaces.remoting.scripting.AbstractLocalScriptExecutor<JRubyLocalScriptExecutor.JRubyCompiledScript>
      
org.openspaces.remoting.scripting.JRubyLocalScriptExecutor
- All Implemented Interfaces: 
 - LocalScriptExecutor<JRubyLocalScriptExecutor.JRubyCompiledScript>
 
public class JRubyLocalScriptExecutor
- extends AbstractLocalScriptExecutor<JRubyLocalScriptExecutor.JRubyCompiledScript>
 
JRuby local script executor.
- Author:
 
  - kimchy
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
JRubyLocalScriptExecutor
public JRubyLocalScriptExecutor()
doCompile
public JRubyLocalScriptExecutor.JRubyCompiledScript doCompile(Script script)
                                                       throws ScriptCompilationException
- Specified by:
 doCompile in class AbstractLocalScriptExecutor<JRubyLocalScriptExecutor.JRubyCompiledScript>
 
- Throws:
 ScriptCompilationException
 
execute
public Object execute(Script script,
                      JRubyLocalScriptExecutor.JRubyCompiledScript compiledScript,
                      Map<String,Object> parameters)
               throws ScriptExecutionException
- Description copied from interface: 
LocalScriptExecutor 
- Executes the given compiled script.
- Throws:
 ScriptExecutionException
 
 
close
public void close(JRubyLocalScriptExecutor.JRubyCompiledScript compiledScript)
- Description copied from interface: 
LocalScriptExecutor 
- Closes the compiled script.
 
 
isThreadSafe
public boolean isThreadSafe()
- Description copied from interface: 
LocalScriptExecutor 
- 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).
 
 
Copyright © GigaSpaces.