public enum SynodeMode extends Enum<SynodeMode>
Enum Constant and Description |
---|
leaf
Work as a tree branch mode, tree's middle and leaf node,
via filing application to
#hub |
nondb
device or so without DB
|
peer
Jserv node mode: cloud hub, accepting application from
#child |
Modifier and Type | Method and Description |
---|---|
static SynodeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SynodeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SynodeMode nondb
public static final SynodeMode peer
#child
public static final SynodeMode leaf
#hub
public static SynodeMode[] values()
for (SynodeMode c : SynodeMode.values()) System.out.println(c);
public static SynodeMode 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 © 2024. All rights reserved.