public interface ClusterDiscoveryCallback extends AsynchronousCallback
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Gets called when the cluster is shut down.
|
com.google.common.util.concurrent.ListenableFuture<List<ClusterNodeAddress>> |
getNodeAddresses()
Gets called every X seconds by HiveMQ to discover all available cluster nodes.
|
void |
init(String clusterId,
ClusterNodeAddress ownAddress)
Gets called before the HiveMQ instance starts looking for other HiveMQ instances to form a cluster with.
|
void init(String clusterId, ClusterNodeAddress ownAddress)
clusterId - this HiveMQ instance's unique cluster node IDownAddress - this HiveMQ instance's addresscom.google.common.util.concurrent.ListenableFuture<List<ClusterNodeAddress>> getNodeAddresses()
void destroy()
Copyright © 2013-2018 dc-square GmbH. All Rights Reserved.