public enum DiscoveryMode extends Enum<DiscoveryMode>
The 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.
|Enum Constant and Description|
The current runtime environment is a Hazelcast client
The current runtime environment is a Hazelcast member node
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final DiscoveryMode Member
public static final DiscoveryMode Client
public static DiscoveryMode values()
for (DiscoveryMode c : DiscoveryMode.values()) System.out.println(c);
public static DiscoveryMode valueOf(String name)
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.