public interface ScriptingExecutor<T>
Script
using remoting. The "server" side implements
this interface (with built in implementation of DefaultScriptingExecutor
. The client side
simply uses either async or sync proxy built on top of this interface.Modifier and Type | Method and Description |
---|---|
Future<T> |
asyncExecute(Script script)
Executes the given script and return a future that can be used to read the response at a
later stage.
|
T |
execute(Script script)
Executes the given script and returns a response.
|
T execute(Script script) throws ScriptingException
ScriptingException
Future<T> asyncExecute(Script script) throws ScriptingException
Note, this only works with "async" remoting.
ScriptingException
Copyright © GigaSpaces.