public class EmbeddedRemoteOperationRouter extends AbstractRemoteOperationRouter
| Modifier and Type | Field and Description | 
|---|---|
protected RemoteOperationsExecutor | 
_executor  | 
protected RemoteOperationsExecutorProxy | 
_memberProxy  | 
_logger| Constructor and Description | 
|---|
EmbeddedRemoteOperationRouter(RemoteOperationsExecutorProxy memberProxy,
                             int partitionId,
                             String name,
                             Executor asyncExecutor)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
afterOperationExecution(RemoteOperationRequest<?> request)  | 
protected boolean | 
beforeOperationExecution(RemoteOperationRequest<?> request)  | 
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()  | 
RemoteOperationsExecutorProxy | 
getCachedMember()  | 
RemoteOperationsExecutor | 
getExecutor()  | 
String | 
getName()  | 
int | 
getPartitionId()  | 
logAfterExecute, logAfterExecuteAsync, logAsyncExecutionFailure, logBeforeExecute, logBeforeExecuteAsync, logExecutionFailure, logInterruptedAsyncExecution, logInterruptedExecution, logUnexpectedAsyncExecutionprotected final RemoteOperationsExecutorProxy _memberProxy
protected final RemoteOperationsExecutor _executor
public EmbeddedRemoteOperationRouter(RemoteOperationsExecutorProxy memberProxy, int partitionId, String name, Executor asyncExecutor)
public RemoteOperationsExecutor getExecutor()
public <T extends RemoteOperationResult> void execute(RemoteOperationRequest<T> request) throws InterruptedException
InterruptedExceptionprotected boolean beforeOperationExecution(RemoteOperationRequest<?> request)
protected void afterOperationExecution(RemoteOperationRequest<?> request)
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
InterruptedExceptionpublic RemoteOperationsExecutorProxy getCachedMember()
getCachedMember in interface RemoteOperationRoutergetCachedMember in class AbstractRemoteOperationRouterpublic RemoteOperationsExecutorProxy getAnyAvailableMember()
public RemoteOperationsExecutorProxy getAnyActiveMember()
public void getAllAvailableMembers(List<RemoteOperationsExecutorProxy> availableMembers)
public void close()
public int getPartitionId()
public String getName()
Copyright © GigaSpaces.