public static enum InstanceTrackingConfig.InstanceTrackingProperties extends Enum<InstanceTrackingConfig.InstanceTrackingProperties>
Enum Constant and Description |
---|
LICENSED
If this instance is using a license or not.
|
MODE
The instance mode, e.g.
|
PID
Attempts to get the process ID value.
|
PRODUCT
The instance product name, e.g.
|
START_TIMESTAMP
The timestamp of when the instance was started as returned by
System.currentTimeMillis() . |
VERSION
The instance version.
|
Modifier and Type | Method and Description |
---|---|
String |
getPropertyName()
Returns the property name which can be used in placeholders to be resolved
to an actual property value.
|
static InstanceTrackingConfig.InstanceTrackingProperties |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceTrackingConfig.InstanceTrackingProperties[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceTrackingConfig.InstanceTrackingProperties PRODUCT
public static final InstanceTrackingConfig.InstanceTrackingProperties VERSION
public static final InstanceTrackingConfig.InstanceTrackingProperties MODE
InstanceTrackingConfig.InstanceMode
public static final InstanceTrackingConfig.InstanceTrackingProperties START_TIMESTAMP
System.currentTimeMillis()
.public static final InstanceTrackingConfig.InstanceTrackingProperties LICENSED
0
signifies
that there is no license set and the value 1
signifies that a
license is in use.public static final InstanceTrackingConfig.InstanceTrackingProperties PID
-1
.public static InstanceTrackingConfig.InstanceTrackingProperties[] values()
for (InstanceTrackingConfig.InstanceTrackingProperties c : InstanceTrackingConfig.InstanceTrackingProperties.values()) System.out.println(c);
public static InstanceTrackingConfig.InstanceTrackingProperties 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 getPropertyName()
Copyright © 2020 Hazelcast, Inc.. All rights reserved.