public class ExecutorRemotingProxyConfigurer<T> extends Object
Usage example:
IJSpace space = new UrlSpaceConfigurer("jini://*/*/mySpace") .space(); GigaSpace gigaSpace = new GigaSpaceConfigurer(space).gigaSpace(); MyBusinessInterface proxy = new ExecutorRemotingProxyConfigurer<MyBusinessInterface>(gigaSpace, MyBusinessInterface.class) .broadcast(true) .proxy(); proxy.businessMethod(...);
Constructor and Description |
---|
ExecutorRemotingProxyConfigurer(GigaSpace gigaSpace,
Class<T> serviceInterface) |
Modifier and Type | Method and Description |
---|---|
ExecutorRemotingProxyConfigurer<T> |
broadcast(boolean broadcast) |
<X,Y> ExecutorRemotingProxyConfigurer<T> |
broadcast(RemoteResultReducer<X,Y> remoteResultReducer) |
ExecutorRemotingProxyConfigurer<T> |
metaArgumentsHandler(MetaArgumentsHandler metaArgumentsHandler) |
T |
proxy()
Creates a new executor proxy of type T
|
ExecutorRemotingProxyConfigurer<T> |
remoteInvocationAspect(RemoteInvocationAspect remoteInvocationAspect) |
ExecutorRemotingProxyConfigurer<T> |
remoteResultReducer(RemoteResultReducer remoteResultReducer) |
ExecutorRemotingProxyConfigurer<T> |
remoteRoutingHandler(RemoteRoutingHandler remoteRoutingHandler) |
ExecutorRemotingProxyConfigurer<T> |
returnFirstResult(boolean returnFirstResult) |
ExecutorRemotingProxyConfigurer<T> |
timeout(long timeout) |
public ExecutorRemotingProxyConfigurer<T> timeout(long timeout)
public ExecutorRemotingProxyConfigurer<T> broadcast(boolean broadcast)
public <X,Y> ExecutorRemotingProxyConfigurer<T> broadcast(RemoteResultReducer<X,Y> remoteResultReducer)
public ExecutorRemotingProxyConfigurer<T> remoteResultReducer(RemoteResultReducer remoteResultReducer)
public ExecutorRemotingProxyConfigurer<T> returnFirstResult(boolean returnFirstResult)
public ExecutorRemotingProxyConfigurer<T> metaArgumentsHandler(MetaArgumentsHandler metaArgumentsHandler)
public ExecutorRemotingProxyConfigurer<T> remoteInvocationAspect(RemoteInvocationAspect remoteInvocationAspect)
public ExecutorRemotingProxyConfigurer<T> remoteRoutingHandler(RemoteRoutingHandler remoteRoutingHandler)
public T proxy()
Copyright © GigaSpaces.