public static enum InstanceTrackingConfig.InstanceMode extends Enum<InstanceTrackingConfig.InstanceMode>
| Enum Constant and Description | 
|---|
CLIENT
This instance is a Hazelcast client instance. 
 | 
EMBEDDED
This instance is embedded in another Java program. 
 | 
SERVER
This instance was started using the  
start.sh or start.bat
 scripts. | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getModeName()
Returns the string representation of the instance mode name. 
 | 
static InstanceTrackingConfig.InstanceMode | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static InstanceTrackingConfig.InstanceMode[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final InstanceTrackingConfig.InstanceMode SERVER
start.sh or start.bat
 scripts.public static final InstanceTrackingConfig.InstanceMode CLIENT
public static final InstanceTrackingConfig.InstanceMode EMBEDDED
public static InstanceTrackingConfig.InstanceMode[] values()
for (InstanceTrackingConfig.InstanceMode c : InstanceTrackingConfig.InstanceMode.values()) System.out.println(c);
public static InstanceTrackingConfig.InstanceMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getModeName()
Copyright © 2022 Hazelcast, Inc.. All rights reserved.