public class UnifiedReplicationRouter extends Object implements IReplicationRouter
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
UnifiedReplicationRouter.Builder  | 
| Constructor and Description | 
|---|
UnifiedReplicationRouter(IReplicationRouter spaceProxyReplicationRouter,
                        IReplicationRouter lusReplicationRouter)  | 
| 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 
 | 
public UnifiedReplicationRouter(IReplicationRouter spaceProxyReplicationRouter, IReplicationRouter lusReplicationRouter)
public IReplicationMonitoredConnection getMemberConnectionAsync(String memberLookupName)
IReplicationRoutergetMemberConnectionAsync in interface IReplicationRoutermemberLookupName - the replication node name to create the connection topublic IReplicationMonitoredConnection getMemberConnection(String memberLookupName)
IReplicationRoutergetMemberConnection in interface IReplicationRouterpublic IReplicationMonitoredConnection getUrlConnection(Object customUrl)
IReplicationRoutergetUrlConnection in interface IReplicationRoutercustomUrl - the url to the replication node to create the connection topublic IReplicationMonitoredConnection getDirectConnection(RouterStubHolder remoteStubHolder)
IReplicationRoutergetDirectConnection in interface IReplicationRouterremoteStubHolder - the target router of the connectionpublic void close()
close in interface IReplicationRouterpublic String getMyLookupName()
getMyLookupName in interface IReplicationRouterpublic Object getMyUniqueId()
getMyUniqueId in interface IReplicationRouterpublic RouterStubHolder getMyStubHolder()
IReplicationRoutergetMyStubHolder in interface IReplicationRouterIReplicationRouter.getDirectConnection(RouterStubHolder)public ReplicationEndpointDetails getMyEndpointDetails()
IReplicationRoutergetMyEndpointDetails in interface IReplicationRouterpublic IReplicationRouterAdmin getAdmin()
getAdmin in interface IReplicationRouterpublic String dumpState()
dumpState in interface IReplicationRouterCopyright © GigaSpaces.