public class RemoteOperationsExecutorProxy extends Object
Constructor and Description |
---|
RemoteOperationsExecutorProxy(String name,
RemoteOperationsExecutor executor,
QuiesceTokenProvider quiesceTokenProvider) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
<T extends RemoteOperationResult> |
execute(RemoteOperationRequest<T> request) |
<T extends RemoteOperationResult> |
executeAsync(RemoteOperationRequest<T> request,
AsyncFutureListener<T> listener) |
void |
executeOneway(RemoteOperationRequest<?> request) |
RemoteOperationsExecutor |
getExecutor() |
String |
getName() |
boolean |
isActive() |
boolean |
isActiveQuiesceTokenAware() |
static boolean |
isAvailable(RemoteOperationsExecutorProxy proxy,
boolean activeOnly) |
String |
toLogMessage(RemoteOperationRequest<?> request) |
public RemoteOperationsExecutorProxy(String name, RemoteOperationsExecutor executor, QuiesceTokenProvider quiesceTokenProvider)
public String getName()
public RemoteOperationsExecutor getExecutor()
public <T extends RemoteOperationResult> T execute(RemoteOperationRequest<T> request) throws RemoteException
RemoteException
public <T extends RemoteOperationResult> void executeAsync(RemoteOperationRequest<T> request, AsyncFutureListener<T> listener) throws RemoteException
RemoteException
public void executeOneway(RemoteOperationRequest<?> request) throws RemoteException
RemoteException
public boolean isActive() throws RemoteException
RemoteException
public boolean isActiveQuiesceTokenAware() throws RemoteException
RemoteException
public String toLogMessage(RemoteOperationRequest<?> request)
public void close()
public static boolean isAvailable(RemoteOperationsExecutorProxy proxy, boolean activeOnly)
Copyright © GigaSpaces.