public enum SyncFlag extends Enum<SyncFlag>
Enum Constant and Description |
---|
CLOSE
Update metdata of the file after the given data is appended to file.
|
DATA
No update is required, and hold lease.
|
METADATA
Update metdata of the file after the given data is appended to file.
|
Modifier and Type | Method and Description |
---|---|
static SyncFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyncFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyncFlag DATA
public static final SyncFlag METADATA
public static final SyncFlag CLOSE
public static SyncFlag[] values()
for (SyncFlag c : SyncFlag.values()) System.out.println(c);
public static SyncFlag 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 © 2019 Microsoft Corporation. All rights reserved.