Class EventDrivenScriptingProxyConfigurer<T>
java.lang.Object
org.openspaces.remoting.scripting.EventDrivenScriptingProxyConfigurer<T>
A simple programmatic configurer creating a remote event driven scripting proxy
Usage example:
IJSpace space = new UrlSpaceConfigurer("jini://*/*/mySpace")
.space();
GigaSpace gigaSpace = new GigaSpaceConfigurer(space).gigaSpace();
ScriptingExecutor executor = new EventDrivenScriptingProxyConfigurer(gigaSpace)
.timeout(15000)
.scriptingExecutor();
Integer result = executor.execute(new StaticScript()
.type("groovy")
.name("myScript")
.script("return 1"));
- Author:
- Uri Cohen
-
Constructor Summary
ConstructorsConstructorDescriptionEventDrivenScriptingProxyConfigurer(GigaSpace gigaSpace) Creates a newAsyncScriptingProxyConfigureron top of the given space -
Method Summary
-
Constructor Details
-
EventDrivenScriptingProxyConfigurer
Creates a newAsyncScriptingProxyConfigureron top of the given space
-
-
Method Details
-
timeout
-
fifo
-
scriptingExecutor
Create a new event drivenScriptingExecutorproxy
-