public class NfsCreateMode
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static NfsCreateMode |
EXCLUSIVE
The server is to follow exclusive creation semantics, using the verifier
to ensure exclusive creation of the target.
|
static NfsCreateMode |
GUARDED
The server should check for the presence of a duplicate file before
performing the create and should fail the request with
NFS3ERR_EXIST if a duplicate file exists. |
static NfsCreateMode |
UNCHECKED
The file should be created without checking for the existence of a
duplicate file in the same directory.
|
| Modifier and Type | Method and Description |
|---|---|
static NfsCreateMode |
fromValue(int value)
Convenience function to get the instance from the int create mode value.
|
public static final NfsCreateMode UNCHECKED
public static final NfsCreateMode GUARDED
NFS3ERR_EXIST if a duplicate file exists. If the file does
not exist, the request is performed as described for
UNCHECKED.public static final NfsCreateMode EXCLUSIVE
public static NfsCreateMode fromValue(int value)
value - The int create mode value.