public interface IReplicationRouter
IReplicationMonitoredConnection and in charge of keeping it connected.| Modifier and Type | Method and Description | 
|---|---|
void | 
close()  | 
String | 
dumpState()  | 
IReplicationRouterAdmin | 
getAdmin()  | 
IReplicationMonitoredConnection | 
getDirectConnection(RouterStubHolder remoteStubHolder)
Gets a direct connection to the router represented by the given stub. 
 | 
IReplicationMonitoredConnection | 
getMemberConnection(String memberLookupName)
Create new replication connection and establishes it. 
 | 
IReplicationMonitoredConnection | 
getMemberConnectionAsync(String memberLookupName)
Gets a replication connection to a designated replication node by its name, the received
 connection is automatically managed by the router and it is in charge of detecting
 disconnection and reestablish connection when available. 
 | 
ReplicationEndpointDetails | 
getMyEndpointDetails()
Gets this router endpoint details 
 | 
String | 
getMyLookupName()  | 
RouterStubHolder | 
getMyStubHolder()
Gets a stub holder for the current router, that a remote router can use to create a
 connection to this router 
 | 
Object | 
getMyUniqueId()  | 
IReplicationMonitoredConnection | 
getUrlConnection(Object customUrl)
Gets a connection with given custom url, need to have this due to space copy with given url
 which may not even reside in the cluster policy and for sink recovery 
 | 
IReplicationMonitoredConnection getMemberConnectionAsync(String memberLookupName)
memberLookupName - the replication node name to create the connection toIReplicationMonitoredConnection getMemberConnection(String memberLookupName)
IReplicationMonitoredConnection getUrlConnection(Object customUrl)
customUrl - the url to the replication node to create the connection toIReplicationMonitoredConnection getDirectConnection(RouterStubHolder remoteStubHolder)
remoteStubHolder - the target router of the connectionvoid close()
String getMyLookupName()
Object getMyUniqueId()
RouterStubHolder getMyStubHolder()
getDirectConnection(RouterStubHolder)String dumpState()
IReplicationRouterAdmin getAdmin()
ReplicationEndpointDetails getMyEndpointDetails()
Copyright © GigaSpaces.