public interface WanReplicationService extends CoreService, StatisticsAwareService
WanReplicationPublisher instances
 to replicate values to other clusters over the wide area network, so it has to deal with long
 delays, slow uploads and higher latencies.| Modifier and Type | Field and Description | 
|---|---|
| static String | SERVICE_NAMEService name. | 
| 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. | 
| 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) | 
getStatsstatic final String SERVICE_NAME
WanReplicationPublisher getWanReplicationPublisher(String name)
WanReplicationPublisher by the given name. If
 the name already exists, returns the previous instance.name - name of the WAN replication configurationvoid shutdown()
void pause(String name, String targetGroupName)
name - name of WAN replication configurationtargetGroupName - name of wan target cluster configvoid resume(String name, String targetGroupName)
name - name of WAN replication configurationtargetGroupName - name of wan target cluster configvoid checkWanReplicationQueues(String name)
void clearQueues(String wanReplicationName, String targetGroupName)
wanReplicationName - targetGroupName - void addWanReplicationConfig(WanReplicationConfig wanConfig)
WanReplicationConfig to all members.WanSyncState getWanSyncState()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.