public static enum InodeTree.LockPattern extends java.lang.Enum<InodeTree.LockPattern>
| Enum Constant and Description |
|---|
READ
Read lock every existing inode and edge along the path.
|
WRITE_EDGE
Read lock every existing inode and edge along the path, but write lock the edge leading out
of the last existing ancestor.
|
WRITE_INODE
Read lock every existing inode and edge along the path, but write lock the final inode if it
exists.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isWrite() |
static InodeTree.LockPattern |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InodeTree.LockPattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InodeTree.LockPattern READ
public static final InodeTree.LockPattern WRITE_INODE
public static final InodeTree.LockPattern WRITE_EDGE
public static InodeTree.LockPattern[] values()
for (InodeTree.LockPattern c : InodeTree.LockPattern.values()) System.out.println(c);
public static InodeTree.LockPattern valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isWrite()
Copyright © 2020. All Rights Reserved.