public enum OwnershipLevel extends Enum<OwnershipLevel>
ClusteredLock. The level of the ownership scopes the execution of the code once the lock is acquired. If the lock owner is the
NODE, this means that any thread on the node can release the lock.
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
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
public static final OwnershipLevel NODE
public static final OwnershipLevel INSTANCE
public static OwnershipLevel values()
for (OwnershipLevel c : OwnershipLevel.values()) System.out.println(c);
public static OwnershipLevel valueOf(String name)
Copyright © 2021 JBoss by Red Hat. All rights reserved.