com.hazelcast.wan
Interface WanReplicationEndpoint

All Superinterfaces:
WanReplicationPublisher
All Known Implementing Classes:
WanNoDelayReplication

public interface WanReplicationEndpoint
extends WanReplicationPublisher

Implementations of this interface represent a replication endpoint, normally another Hazelcast cluster only reachable over a wide area network


Method Summary
 void init(Node node, String groupName, String password, String... targets)
          Initializes the endpoint using the given arguments
 void shutdown()
          Closes the endpoint, it's internal connections and shuts down other internal states
 
Methods inherited from interface com.hazelcast.wan.WanReplicationPublisher
publishReplicationEvent
 

Method Detail

init

void init(Node node,
          String groupName,
          String password,
          String... targets)
Initializes the endpoint using the given arguments

Parameters:
node - the current node that tries to connect
groupName - the group name to connect with
password - the group's password
targets - possible target endpoints bundled in this endpoint

shutdown

void shutdown()
Closes the endpoint, it's internal connections and shuts down other internal states



Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.