public class SpaceProxyRouter extends Object
Constructor and Description |
---|
SpaceProxyRouter(SpaceProxyImpl spaceProxy) |
SpaceProxyRouter(SpaceProxyImpl spaceProxy,
int partitionNum) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this space proxy router.
|
<T extends SpaceOperationResult> |
execute(RemoteOperationRequest<T> request) |
<T extends SpaceOperationResult> |
executeAsync(RemoteOperationRequest<T> request,
AsyncFutureListener<Object> listener) |
void |
executeOneway(RemoteOperationRequest<?> request) |
List<IRemoteSpace> |
getAllAvailableSpaces() |
IRemoteSpace |
getAnyActiveSpace() |
IRemoteSpace |
getAnyAvailableSpace() |
IAsyncHandlerProvider |
getAsyncHandlerProvider() |
int |
getChunksMapGeneration() |
RemoteOperationsExecutorsClusterConfig |
getConfig() |
SpaceContext |
getDefaultSpaceContext() |
SpaceURL |
getMemberUrl(String memberName) |
SpaceProxyRemoteOperationRouter |
getOperationRouter() |
SpaceURL |
getPrimaryMemberUrl(int partitionId) |
RemoteSpaceProxyLocator |
getProxyLocator() |
void |
setQuiesceToken(QuiesceToken token) |
public SpaceProxyRouter(SpaceProxyImpl spaceProxy)
public SpaceProxyRouter(SpaceProxyImpl spaceProxy, int partitionNum)
public IAsyncHandlerProvider getAsyncHandlerProvider()
public void close()
public <T extends SpaceOperationResult> void execute(RemoteOperationRequest<T> request) throws InterruptedException
InterruptedException
public <T extends SpaceOperationResult> RemoteOperationFutureListener<T> executeAsync(RemoteOperationRequest<T> request, AsyncFutureListener<Object> listener)
public void executeOneway(RemoteOperationRequest<?> request) throws InterruptedException
InterruptedException
public RemoteOperationsExecutorsClusterConfig getConfig()
public IRemoteSpace getAnyAvailableSpace()
public IRemoteSpace getAnyActiveSpace()
public List<IRemoteSpace> getAllAvailableSpaces()
public SpaceURL getPrimaryMemberUrl(int partitionId)
public RemoteSpaceProxyLocator getProxyLocator()
public SpaceContext getDefaultSpaceContext()
public int getChunksMapGeneration()
public void setQuiesceToken(QuiesceToken token)
public SpaceProxyRemoteOperationRouter getOperationRouter()
Copyright © GigaSpaces.