Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Method and Description |
---|---|
MulticastConfig |
MulticastConfig.addTrustedInterface(String ip)
Adds a trusted interface.
|
MulticastConfig |
JoinConfig.getMulticastConfig() |
MulticastConfig |
MulticastConfig.setEnabled(boolean enabled)
Enables or disables the multicast discovery mechanism
|
MulticastConfig |
MulticastConfig.setLoopbackModeEnabled(Boolean enabled)
Explicitly enables or disables the loopback mode in the multicast discovery mechanism.
|
MulticastConfig |
MulticastConfig.setMulticastGroup(String multicastGroup)
Sets the multicast group.
|
MulticastConfig |
MulticastConfig.setMulticastPort(int multicastPort)
Sets the multicast port.
|
MulticastConfig |
MulticastConfig.setMulticastTimeoutSeconds(int multicastTimeoutSeconds)
Specifies the time in seconds that a node should wait for a valid multicast response from another node running
in the network before declaring itself as master node and creating its own cluster.
|
MulticastConfig |
MulticastConfig.setMulticastTimeToLive(int multicastTimeToLive)
Sets the time to live for the multicast package; a value between 0..255.
|
MulticastConfig |
MulticastConfig.setTrustedInterfaces(Set<String> interfaces)
Sets the trusted interfaces.
|
Modifier and Type | Method and Description |
---|---|
JoinConfig |
JoinConfig.setMulticastConfig(MulticastConfig multicastConfig) |
Copyright © 2021 Hazelcast, Inc.. All rights reserved.