public enum SyncServiceCreateMode extends Enum<SyncServiceCreateMode>
| Enum Constant and Description |
|---|
EPHEMERAL
The node will be deleted upon the SyncService's disconnect.
|
EPHEMERAL_SEQUENTIAL
The node will be deleted upon the SyncService's disconnect, and its name
will be appended with a monotonically increasing number.
|
PERSISTENT
The node will not be automatically deleted upon SyncService's disconnect.
|
PERSISTENT_SEQUENTIAL
The node will not be automatically deleted upon SyncService's disconnect,
and its name will be appended with a monotonically increasing number.
|
| Modifier and Type | Method and Description |
|---|---|
static SyncServiceCreateMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyncServiceCreateMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyncServiceCreateMode PERSISTENT
public static final SyncServiceCreateMode PERSISTENT_SEQUENTIAL
public static final SyncServiceCreateMode EPHEMERAL
public static final SyncServiceCreateMode EPHEMERAL_SEQUENTIAL
public static SyncServiceCreateMode[] values()
for (SyncServiceCreateMode c : SyncServiceCreateMode.values()) System.out.println(c);
public static SyncServiceCreateMode 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 © 2014. All Rights Reserved.