com.hazelcast.wan.impl
Class WanNoDelayReplication
java.lang.Object
com.hazelcast.wan.impl.WanNoDelayReplication
- All Implemented Interfaces:
- WanReplicationEndpoint, WanReplicationPublisher, Runnable
public class WanNoDelayReplication
- extends Object
- implements Runnable, WanReplicationEndpoint
No delaying distribution implementation on WAN replication
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WanNoDelayReplication
public WanNoDelayReplication()
init
public void init(Node node,
String groupName,
String password,
String... targets)
- Description copied from interface:
WanReplicationEndpoint
- Initializes the endpoint using the given arguments
- Specified by:
init in interface WanReplicationEndpoint
- Parameters:
node - the current node that tries to connectgroupName - the group name to connect withpassword - the group's passwordtargets - possible target endpoints bundled in this endpoint
publishReplicationEvent
public void publishReplicationEvent(String serviceName,
ReplicationEventObject eventObject)
- Specified by:
publishReplicationEvent in interface WanReplicationPublisher
shutdown
public void shutdown()
- Description copied from interface:
WanReplicationEndpoint
- Closes the endpoint, it's internal connections and shuts down other internal states
- Specified by:
shutdown in interface WanReplicationEndpoint
run
public void run()
- Specified by:
run in interface Runnable
checkAuthorization
public boolean checkAuthorization(String groupName,
String groupPassword,
Address target)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.