public enum DistributedLockType extends Enum<DistributedLockType>
Enum Constant and Description |
---|
INHERIT
Inherits the distributed locking behavior of the annotated class to the extent possible,
for example, @javax.ejb.Singleton classes are locked by default, so distributed locking
would be performed on those
|
LOCK
Distributed locking is performed on this object
|
LOCK_NONE
No distributed locking is performed
|
Modifier and Type | Method and Description |
---|---|
static DistributedLockType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DistributedLockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistributedLockType INHERIT
public static final DistributedLockType LOCK_NONE
public static final DistributedLockType LOCK
public static DistributedLockType[] values()
for (DistributedLockType c : DistributedLockType.values()) System.out.println(c);
public static DistributedLockType 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 © 2018. All rights reserved.