public static enum InodeTree.LockMode extends Enum<InodeTree.LockMode>
Enum Constant and Description |
---|
READ
Read lock the entire path.
|
WRITE
Read lock the entire path, but write lock the target inode.
|
WRITE_PARENT
Read lock the entire path, but write lock the target inode and the parent of the target.
|
Modifier and Type | Method and Description |
---|---|
static InodeTree.LockMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InodeTree.LockMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InodeTree.LockMode READ
public static final InodeTree.LockMode WRITE
public static final InodeTree.LockMode WRITE_PARENT
public static InodeTree.LockMode[] values()
for (InodeTree.LockMode c : InodeTree.LockMode.values()) System.out.println(c);
public static InodeTree.LockMode 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 © 2023. All Rights Reserved.