public class WanReplicationServiceImpl extends Object implements WanReplicationService
WanReplicationServiceSERVICE_NAME| Constructor and Description | 
|---|
WanReplicationServiceImpl(Node node)  | 
| Modifier and Type | Method and Description | 
|---|---|
WanReplicationPublisher | 
getWanReplicationPublisher(String name)
Creates a new  
WanReplicationPublisher by the given name, if
 already existing returns the previous instance. | 
void | 
handleEvent(Packet packet)
This method is called when a replication packet arrives at the connection handler. 
 | 
void | 
shutdown()
Starts the shutdown process of the WAN replication service 
 | 
public WanReplicationServiceImpl(Node node)
public WanReplicationPublisher getWanReplicationPublisher(String name)
WanReplicationServiceWanReplicationPublisher by the given name, if
 already existing returns the previous instance.getWanReplicationPublisher in interface WanReplicationServicename - name of the WAN replication configurationpublic void handleEvent(Packet packet)
WanReplicationServicehandleEvent in interface WanReplicationServicepacket - the WAN replication packet to processpublic void shutdown()
WanReplicationServiceshutdown in interface WanReplicationServiceCopyright © 2014 Hazelcast, Inc.. All Rights Reserved.