public class RemoteOperationsExecutorsCluster extends Object
Modifier and Type | Class and Description |
---|---|
class |
RemoteOperationsExecutorsCluster.MemberLocatorTask |
Constructor and Description |
---|
RemoteOperationsExecutorsCluster(SpaceProxyImpl spaceProxy,
String name,
SpaceClusterInfo clusterInfo,
int partitionId,
Collection<String> members,
RemoteOperationsExecutorsClusterConfig config,
IAsyncHandlerProvider asyncHandlerProvider,
RemoteOperationsExecutorProxyLocator proxyLocator,
RemoteOperationsExecutorProxy defaultMember) |
RemoteOperationsExecutorsCluster(String name,
SpaceClusterInfo clusterInfo,
int partitionId,
Collection<String> members,
RemoteOperationsExecutorsClusterConfig config,
IAsyncHandlerProvider asyncHandlerProvider,
RemoteOperationsExecutorProxyLocator proxyLocator,
RemoteOperationsExecutorProxy defaultMember) |
Modifier and Type | Method and Description |
---|---|
void |
add(RemoteOperationsExecutorProxy proxy) |
void |
close() |
void |
disconnect(RemoteOperationsExecutorProxy proxy) |
RemoteOperationsExecutorProxy |
find(String member,
LookupType lookupType) |
String |
generateTimeoutErrorMessage(long initialFailureTime,
RemoteOperationRequest<?> request) |
void |
getAllAvailableMembers(List<RemoteOperationsExecutorProxy> availableMembers) |
RemoteOperationsExecutorProxy |
getAvailableMember(boolean activeOnly,
long timeout) |
SpaceClusterInfo |
getClusterInfo() |
RemoteOperationsExecutorsClusterConfig |
getConfig() |
String |
getElapsedTime(long initialFailureTime) |
SpaceProxyLoadBalancingStrategy |
getLoadBalancer() |
org.slf4j.Logger |
getLogger() |
Collection<String> |
getMembersNames() |
String |
getName() |
String |
getPartitionDesc() |
int |
getPartitionId() |
long |
getRemainingTime(RemoteOperationRequest<?> request,
long initialFailureTime) |
void |
refreshConnectedMembers() |
void |
refreshDisconnectedMembers() |
public RemoteOperationsExecutorsCluster(SpaceProxyImpl spaceProxy, String name, SpaceClusterInfo clusterInfo, int partitionId, Collection<String> members, RemoteOperationsExecutorsClusterConfig config, IAsyncHandlerProvider asyncHandlerProvider, RemoteOperationsExecutorProxyLocator proxyLocator, RemoteOperationsExecutorProxy defaultMember)
public RemoteOperationsExecutorsCluster(String name, SpaceClusterInfo clusterInfo, int partitionId, Collection<String> members, RemoteOperationsExecutorsClusterConfig config, IAsyncHandlerProvider asyncHandlerProvider, RemoteOperationsExecutorProxyLocator proxyLocator, RemoteOperationsExecutorProxy defaultMember)
public String getName()
public org.slf4j.Logger getLogger()
public SpaceClusterInfo getClusterInfo()
public int getPartitionId()
public String getPartitionDesc()
public Collection<String> getMembersNames()
public SpaceProxyLoadBalancingStrategy getLoadBalancer()
public RemoteOperationsExecutorsClusterConfig getConfig()
public RemoteOperationsExecutorProxy getAvailableMember(boolean activeOnly, long timeout) throws InterruptedException, RemoteOperationRouterException
public void getAllAvailableMembers(List<RemoteOperationsExecutorProxy> availableMembers)
public void refreshConnectedMembers()
public void refreshDisconnectedMembers()
public RemoteOperationsExecutorProxy find(String member, LookupType lookupType)
public void add(RemoteOperationsExecutorProxy proxy)
public void disconnect(RemoteOperationsExecutorProxy proxy)
public void close()
public long getRemainingTime(RemoteOperationRequest<?> request, long initialFailureTime)
public String generateTimeoutErrorMessage(long initialFailureTime, RemoteOperationRequest<?> request)
public String getElapsedTime(long initialFailureTime)
Copyright © GigaSpaces.