|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openspaces.remoting.scripting.AsyncScriptingProxyConfigurer<T>
EventDrivenScriptingProxyConfigurer
.
public class AsyncScriptingProxyConfigurer<T>
A simple programmatic configurer creating a remote asyncronous scripting proxy
Usage example:
IJSpace space = new UrlSpaceConfigurer("jini://*/*/mySpace") .space(); GigaSpace gigaSpace = new GigaSpaceConfigurer(space).gigaSpace(); ScriptingExecutorexecutor = new AsyncScriptingProxyConfigurer (gigaSpace) .timeout(15000) .asyncScriptingExecutor(); Integer result = executor.execute(new StaticScript() .type("groovy") .name("myScript") .script("return 1")));
Constructor Summary | |
---|---|
AsyncScriptingProxyConfigurer(GigaSpace gigaSpace)
Deprecated. Creates a new AsyncScriptingProxyConfigurer on top of the given space |
Method Summary | |
---|---|
ScriptingExecutor<T> |
asyncScriptingExecutor()
Deprecated. Create a new async ScriptingExecutor proxy |
AsyncScriptingProxyConfigurer<T> |
fifo(boolean fifo)
Deprecated. |
AsyncScriptingProxyConfigurer<T> |
timeout(long timeout)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AsyncScriptingProxyConfigurer(GigaSpace gigaSpace)
AsyncScriptingProxyConfigurer
on top of the given space
Method Detail |
---|
public AsyncScriptingProxyConfigurer<T> timeout(long timeout)
EventDrivenSpaceRemotingProxyFactoryBean.setTimeout(long)
public AsyncScriptingProxyConfigurer<T> fifo(boolean fifo)
EventDrivenSpaceRemotingProxyFactoryBean.setFifo(boolean)
public ScriptingExecutor<T> asyncScriptingExecutor()
ScriptingExecutor
proxy
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |