public enum HardwareIdStrategy extends Enum<HardwareIdStrategy> implements IdentityProvider
Enum Constant and Description |
---|
AUTO_HARDWARE_ID
Generates one unique id per hardware/device.
|
AUTO_NODE_LOCK
Auto discovery of Cloud Platform on which the application is running on.
|
AWS_NODE_LOCK
Use this method if you are sure that you are running on AWS Cloud Platform.
|
AZURE_NODE_LOCK
Use this method if you are sure that you are running on Azure Cloud Platform.
|
NO_DISK_HARDWARE_ID
Generates one unique id per hardware/device.
|
ONCE_PER_PROCESS
Generate one unique ID per call.
|
Modifier and Type | Method and Description |
---|---|
static HardwareIdStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HardwareIdStrategy[] |
values()
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
getKey
public static final HardwareIdStrategy AUTO_HARDWARE_ID
public static final HardwareIdStrategy NO_DISK_HARDWARE_ID
public static final HardwareIdStrategy AUTO_NODE_LOCK
public static final HardwareIdStrategy AWS_NODE_LOCK
public static final HardwareIdStrategy AZURE_NODE_LOCK
public static final HardwareIdStrategy ONCE_PER_PROCESS
BaseConfiguration
public static HardwareIdStrategy[] values()
for (HardwareIdStrategy c : HardwareIdStrategy.values()) System.out.println(c);
public static HardwareIdStrategy 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 nullCopyright © 2025 Cense Data Inc.. All rights reserved.