public class WanReplicationServiceImpl extends Object implements WanReplicationService
WanReplicationServiceSERVICE_NAME| Constructor and Description | 
|---|
| WanReplicationServiceImpl(Node node) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addWanReplicationConfig(WanReplicationConfig wanConfig)Adds a new  WanReplicationConfigto all members. | 
| void | checkWanReplicationQueues(String name) | 
| void | clearQueues(String wanReplicationName,
           String targetGroupName)Clears WAN replication queues of the given wanReplicationName for the given target. | 
| Map<String,LocalWanStats> | getStats() | 
| WanReplicationPublisher | getWanReplicationPublisher(String name)Creates a new  WanReplicationPublisherby the given name. | 
| WanSyncState | getWanSyncState()Returns current status of WAN sync operation | 
| void | pause(String name,
     String targetGroupName)Pauses wan replication to target group for the called node | 
| void | resume(String name,
      String targetGroupName)Resumes wan replication to target group for the called node. | 
| void | shutdown()Starts the shutdown process of the WAN replication service. | 
| void | syncAllMaps(String wanReplicationName,
           String targetGroupName) | 
| void | syncMap(String wanReplicationName,
       String targetGroupName,
       String mapName) | 
public WanReplicationServiceImpl(Node node)
public WanReplicationPublisher getWanReplicationPublisher(String name)
WanReplicationServiceWanReplicationPublisher by the given name. If
 the name already exists, returns the previous instance.getWanReplicationPublisher in interface WanReplicationServicename - name of the WAN replication configurationpublic void shutdown()
WanReplicationServiceshutdown in interface WanReplicationServicepublic void pause(String name, String targetGroupName)
WanReplicationServicepause in interface WanReplicationServicename - name of WAN replication configurationtargetGroupName - name of wan target cluster configpublic void resume(String name, String targetGroupName)
WanReplicationServiceresume in interface WanReplicationServicename - name of WAN replication configurationtargetGroupName - name of wan target cluster configpublic void checkWanReplicationQueues(String name)
checkWanReplicationQueues in interface WanReplicationServicepublic void syncMap(String wanReplicationName, String targetGroupName, String mapName)
syncMap in interface WanReplicationServicepublic void syncAllMaps(String wanReplicationName, String targetGroupName)
syncAllMaps in interface WanReplicationServicepublic void clearQueues(String wanReplicationName, String targetGroupName)
WanReplicationServiceclearQueues in interface WanReplicationServicepublic void addWanReplicationConfig(WanReplicationConfig wanConfig)
WanReplicationServiceWanReplicationConfig to all members.addWanReplicationConfig in interface WanReplicationServicepublic Map<String,LocalWanStats> getStats()
getStats in interface StatisticsAwareServicepublic WanSyncState getWanSyncState()
WanReplicationServicegetWanSyncState in interface WanReplicationServiceCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.