public enum DiscoveryMode extends Enum<DiscoveryMode>
DiscoveryMode describes how the
DiscoveryStrategy is going
to behave on discovery requests. Depending on the current environment it will
either be setup to run in client or server mode.
DiscoveryStrategys are free to change behavior as necessary.
One possible use case is to prevent to start a multicast service on clients when only
discovery is necessary.
Nested Class Summary
Enum Constant Summary
Enum Constants Enum Constant DescriptionThe current runtime environment is a Hazelcast clientThe current runtime environment is a Hazelcast member node
Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Enum Constant Details
valuespublic static DiscoveryMode values()Returns an array containing the constants of this enum type, in the order they are declared.
- an array containing the constants of this enum type, in the order they are declared
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)