public interface WanReplicationService extends CoreService, PacketHandler, 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_NAME
Service name.
|
Modifier and Type | Method and Description |
---|---|
void |
checkWanReplicationQueues(String name) |
WanReplicationPublisher |
getWanReplicationPublisher(String name)
Creates a new
WanReplicationPublisher by the given name. |
void |
handle(Packet packet)
This method is called when a replication packet arrives at the connection handler.
|
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.
|
getStats
static 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 handle(Packet packet)
handle
in interface PacketHandler
packet
- the WAN replication packet to processvoid 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)
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.