public static enum ConfigurationEngineDefaults.Threading.Locking extends Enum<ConfigurationEngineDefaults.Threading.Locking>
Enum Constant and Description |
---|
SPIN
Spin lock blocking is good for locks held very shortly or generally uncontended locks and
is therefore the default.
|
SUSPEND
Blocking that suspends a thread and notifies a thread to wake up can be
more expensive then spin locks.
|
Modifier and Type | Method and Description |
---|---|
static ConfigurationEngineDefaults.Threading.Locking |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurationEngineDefaults.Threading.Locking[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigurationEngineDefaults.Threading.Locking SPIN
public static final ConfigurationEngineDefaults.Threading.Locking SUSPEND
public static ConfigurationEngineDefaults.Threading.Locking[] values()
for (ConfigurationEngineDefaults.Threading.Locking c : ConfigurationEngineDefaults.Threading.Locking.values()) System.out.println(c);
public static ConfigurationEngineDefaults.Threading.Locking 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 null