public class PartitionedClusterRemoteOperationRouter extends AbstractRemoteOperationRouter
_logger
Constructor and Description |
---|
PartitionedClusterRemoteOperationRouter(String name,
RemoteOperationRouter[] partitions,
CoordinatorFactory coordinatorFactory,
boolean broadcastDisabled,
int numberOfPerciseRoundRobingOperations,
RemoteOperationsExecutorsCluster partitionedCluster) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
<T extends RemoteOperationResult> |
createFutureListener(RemoteOperationRequest<T> request,
AsyncFutureListener<Object> listener) |
<T extends RemoteOperationResult> |
execute(RemoteOperationRequest<T> request) |
<T extends RemoteOperationResult> |
executeAsync(RemoteOperationRequest<T> request,
RemoteOperationFutureListener<T> futureListener) |
void |
executeOneway(RemoteOperationRequest<?> request) |
void |
getAllAvailableMembers(List<RemoteOperationsExecutorProxy> availableMembers) |
RemoteOperationsExecutorProxy |
getAnyActiveMember() |
RemoteOperationsExecutorProxy |
getAnyAvailableMember() |
Logger |
getLogger() |
int |
getNextApproxDistributionPartitionId() |
int |
getNextDistributionPartitionId(RemoteOperationRequest<?> request) |
int |
getNextPreciseDistributionPartitionId(int groupingCode) |
int |
getNumOfPartitions() |
RemoteOperationRouter |
getPartitionRouter(int partitionId) |
getCachedMember, logAfterExecute, logAfterExecuteAsync, logAsyncExecutionFailure, logBeforeExecute, logBeforeExecuteAsync, logExecutionFailure, logInterruptedAsyncExecution, logInterruptedExecution, logUnexpectedAsyncExecution
public PartitionedClusterRemoteOperationRouter(String name, RemoteOperationRouter[] partitions, CoordinatorFactory coordinatorFactory, boolean broadcastDisabled, int numberOfPerciseRoundRobingOperations, RemoteOperationsExecutorsCluster partitionedCluster)
public int getNumOfPartitions()
public RemoteOperationRouter getPartitionRouter(int partitionId)
public int getNextPreciseDistributionPartitionId(int groupingCode)
public int getNextApproxDistributionPartitionId()
public <T extends RemoteOperationResult> void execute(RemoteOperationRequest<T> request) throws InterruptedException
InterruptedException
public <T extends RemoteOperationResult> RemoteOperationFutureListener<T> createFutureListener(RemoteOperationRequest<T> request, AsyncFutureListener<Object> listener)
public <T extends RemoteOperationResult> void executeAsync(RemoteOperationRequest<T> request, RemoteOperationFutureListener<T> futureListener)
public void executeOneway(RemoteOperationRequest<?> request) throws InterruptedException
InterruptedException
public int getNextDistributionPartitionId(RemoteOperationRequest<?> request)
public RemoteOperationsExecutorProxy getAnyAvailableMember()
public RemoteOperationsExecutorProxy getAnyActiveMember()
public void getAllAvailableMembers(List<RemoteOperationsExecutorProxy> availableMembers)
public void close()
public Logger getLogger()
Copyright © GigaSpaces.