GigaSpaces XAP 7.0 API

org.openspaces.remoting.scripting
Class AsyncScriptingProxyConfigurer<T>

java.lang.Object
  extended by org.openspaces.remoting.scripting.AsyncScriptingProxyConfigurer<T>

Deprecated. Use EventDrivenScriptingProxyConfigurer.

public class AsyncScriptingProxyConfigurer<T>
extends Object

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();
 ScriptingExecutor executor = new AsyncScriptingProxyConfigurer(gigaSpace)
                                       .timeout(15000)
                                       .asyncScriptingExecutor();
 Integer result = executor.execute(new StaticScript()
                  .type("groovy")
                  .name("myScript")
                  .script("return 1")));
 

Author:
Uri Cohen

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

AsyncScriptingProxyConfigurer

public AsyncScriptingProxyConfigurer(GigaSpace gigaSpace)
Deprecated. 
Creates a new AsyncScriptingProxyConfigurer on top of the given space

Method Detail

timeout

public AsyncScriptingProxyConfigurer<T> timeout(long timeout)
Deprecated. 
See Also:
EventDrivenSpaceRemotingProxyFactoryBean.setTimeout(long)

fifo

public AsyncScriptingProxyConfigurer<T> fifo(boolean fifo)
Deprecated. 
See Also:
EventDrivenSpaceRemotingProxyFactoryBean.setFifo(boolean)

asyncScriptingExecutor

public ScriptingExecutor<T> asyncScriptingExecutor()
Deprecated. 
Create a new async ScriptingExecutor proxy


GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.