public class WanNoDelayReplication extends Object implements Runnable, WanReplicationEndpoint
| Constructor and Description |
|---|
WanNoDelayReplication() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAuthorization(String groupName,
String groupPassword,
Address target) |
void |
init(Node node,
String groupName,
String password,
String... targets)
Initializes the endpoint using the given arguments.
|
void |
publishReplicationEvent(String serviceName,
ReplicationEventObject eventObject) |
void |
publishReplicationEvent(WanReplicationEvent wanReplicationEvent) |
void |
publishReplicationEventBackup(String serviceName,
ReplicationEventObject eventObject) |
void |
run() |
void |
shutdown()
Closes the endpoint and its internal connections and shuts down other internal states
|
public void init(Node node, String groupName, String password, String... targets)
WanReplicationEndpointinit in interface WanReplicationEndpointnode - the current node that tries to connectgroupName - the group name to connect withpassword - the group passwordtargets - possible target endpoints bundled in this endpointpublic void publishReplicationEvent(String serviceName, ReplicationEventObject eventObject)
publishReplicationEvent in interface WanReplicationPublisherpublic void publishReplicationEventBackup(String serviceName, ReplicationEventObject eventObject)
publishReplicationEventBackup in interface WanReplicationPublisherpublic void publishReplicationEvent(WanReplicationEvent wanReplicationEvent)
publishReplicationEvent in interface WanReplicationPublisherpublic void shutdown()
WanReplicationEndpointshutdown in interface WanReplicationEndpointCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.