Package com.hazelcast.config
Enum Class InstanceTrackingConfig.InstanceTrackingProperties
java.lang.Object
java.lang.Enum<InstanceTrackingConfig.InstanceTrackingProperties>
com.hazelcast.config.InstanceTrackingConfig.InstanceTrackingProperties
- All Implemented Interfaces:
Serializable
,Comparable<InstanceTrackingConfig.InstanceTrackingProperties>
,Constable
- Enclosing class:
- InstanceTrackingConfig
public static enum InstanceTrackingConfig.InstanceTrackingProperties
extends Enum<InstanceTrackingConfig.InstanceTrackingProperties>
Enumeration of instance properties provided to the format pattern for
output.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIf this instance is using a license or not.The instance mode, e.g.Attempts to get the process ID value.The instance product name, e.g.The timestamp of when the instance was started as returned bySystem.currentTimeMillis()
.The instance version. -
Method Summary
Modifier and TypeMethodDescriptionReturns the property name which can be used in placeholders to be resolved to an actual property value.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PRODUCT
The instance product name, e.g. "Hazelcast" or "Hazelcast Enterprise". -
VERSION
The instance version. -
MODE
The instance mode, e.g. "server", "embedded" or "client".- See Also:
-
START_TIMESTAMP
The timestamp of when the instance was started as returned bySystem.currentTimeMillis()
. -
LICENSED
If this instance is using a license or not. The value0
signifies that there is no license set and the value1
signifies that a license is in use. -
PID
Attempts to get the process ID value. The algorithm does not guarantee to get the process ID on all JVMs and operating systems so please test before use. In case we are unable to get the PID, the value will be-1
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getPropertyName
Returns the property name which can be used in placeholders to be resolved to an actual property value.
-