public enum SMB2CreateOptions extends java.lang.Enum<SMB2CreateOptions> implements EnumWithValue<SMB2CreateOptions>
EnumWithValue.EnumUtils| Enum Constant and Description |
|---|
FILE_COMPLETE_IF_OPLOCKED
Deprecated.
|
FILE_DELETE_ON_CLOSE
The file MUST be automatically deleted when the last open request on this file is closed.
|
FILE_DIRECTORY_FILE
The file being created or opened is a directory file.
|
FILE_DISALLOW_EXCLUSIVE
Deprecated.
|
FILE_NO_COMPRESSION
The file cannot be compressed.
|
FILE_NO_EA_KNOWLEDGE
The caller does not understand how to handle extended attributes.
|
FILE_NO_INTERMEDIATE_BUFFERING
The server or underlying object store SHOULD NOT cache data at intermediate layers and SHOULD allow it to flow
through to persistent storage.
|
FILE_NON_DIRECTORY_FILE
If the name of the file being created or opened matches with an existing directory file, the server MUST fail the
request with STATUS_FILE_IS_A_DIRECTORY.
|
FILE_OPEN_BY_FILE_ID
Deprecated.
|
FILE_OPEN_FOR_BACKUP_INTENT
The file is being opened for backup intent.
|
FILE_OPEN_FOR_FREE_SPACE_QUERY
Deprecated.
|
FILE_OPEN_NO_RECALL
In an HSM (Hierarchical Storage Management) environment, this flag means the file SHOULD NOT be recalled from
tertiary storage such as tape.
|
FILE_OPEN_REMOTE_INSTANCE
Deprecated.
|
FILE_OPEN_REPARSE_POINT
If the file or directory being opened is a reparse point, open the reparse point itself rather than the target
that the reparse point references.
|
FILE_OPEN_REQUIRING_OPLOCK
Deprecated.
|
FILE_RANDOM_ACCESS
This indicates that the application intends to read or write at random offsets using this handle, so the server
SHOULD optimize for random access.
|
FILE_RESERVE_OPFILTER
Deprecated.
|
FILE_SEQUENTIAL_ONLY
This indicates that the application intends to read or write at sequential offsets using this handle, so the
server SHOULD optimize for sequential access.
|
FILE_SYNCHRONOUS_IO_ALERT
Deprecated.
|
FILE_SYNCHRONOUS_IO_NONALERT
Deprecated.
|
FILE_WRITE_THROUGH
The server MUST propagate writes to this open to persistent storage before returning success to the client on
write operations.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getValue() |
static SMB2CreateOptions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SMB2CreateOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SMB2CreateOptions FILE_DIRECTORY_FILE
public static final SMB2CreateOptions FILE_WRITE_THROUGH
public static final SMB2CreateOptions FILE_SEQUENTIAL_ONLY
public static final SMB2CreateOptions FILE_NO_INTERMEDIATE_BUFFERING
@Deprecated public static final SMB2CreateOptions FILE_SYNCHRONOUS_IO_ALERT
@Deprecated public static final SMB2CreateOptions FILE_SYNCHRONOUS_IO_NONALERT
public static final SMB2CreateOptions FILE_NON_DIRECTORY_FILE
@Deprecated public static final SMB2CreateOptions FILE_COMPLETE_IF_OPLOCKED
public static final SMB2CreateOptions FILE_NO_EA_KNOWLEDGE
public static final SMB2CreateOptions FILE_RANDOM_ACCESS
public static final SMB2CreateOptions FILE_DELETE_ON_CLOSE
@Deprecated public static final SMB2CreateOptions FILE_OPEN_BY_FILE_ID
public static final SMB2CreateOptions FILE_OPEN_FOR_BACKUP_INTENT
public static final SMB2CreateOptions FILE_NO_COMPRESSION
@Deprecated public static final SMB2CreateOptions FILE_OPEN_REMOTE_INSTANCE
@Deprecated public static final SMB2CreateOptions FILE_OPEN_REQUIRING_OPLOCK
@Deprecated public static final SMB2CreateOptions FILE_DISALLOW_EXCLUSIVE
@Deprecated public static final SMB2CreateOptions FILE_RESERVE_OPFILTER
public static final SMB2CreateOptions FILE_OPEN_REPARSE_POINT
public static final SMB2CreateOptions FILE_OPEN_NO_RECALL
@Deprecated public static final SMB2CreateOptions FILE_OPEN_FOR_FREE_SPACE_QUERY
public static SMB2CreateOptions[] values()
for (SMB2CreateOptions c : SMB2CreateOptions.values()) System.out.println(c);
public static SMB2CreateOptions 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 long getValue()
getValue in interface EnumWithValue<SMB2CreateOptions>