Interface ClusterDiscoveryInput
-
@Immutable @DoNotImplement public interface ClusterDiscoveryInput
Input for the methods of aClusterDiscoveryCallback.- Since:
- 4.0.0, CE 2019.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull ClusterNodeAddressgetOwnAddress()Provides the address of the HiveMQ instance the extension is executed on.@NotNull StringgetOwnClusterId()Provides the cluster id of the HiveMQ instance the extension is executed on.intgetReloadInterval()Provides the current reload interval for updating the addresses of all HiveMQ cluster nodes.
-
-
-
Method Detail
-
getOwnAddress
@NotNull ClusterNodeAddress getOwnAddress()
Provides the address of the HiveMQ instance the extension is executed on.- Returns:
- The address of the HiveMQ instance.
- Since:
- 4.0.0, CE 2019.1
-
getOwnClusterId
@NotNull String getOwnClusterId()
Provides the cluster id of the HiveMQ instance the extension is executed on. This id is unique for all HiveMQ instances in the same cluster.- Returns:
- The cluster id of the HiveMQ instance.
- Since:
- 4.0.0, CE 2019.1
-
getReloadInterval
int getReloadInterval()
Provides the current reload interval for updating the addresses of all HiveMQ cluster nodes.- Returns:
- The current reload interval in seconds.
- Since:
- 4.0.0, CE 2019.1
-
-