public static enum ODistributedConfiguration.ROLES extends Enum<ODistributedConfiguration.ROLES>
Modifier and Type | Method and Description |
---|---|
static ODistributedConfiguration.ROLES |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ODistributedConfiguration.ROLES[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ODistributedConfiguration.ROLES MASTER
public static final ODistributedConfiguration.ROLES REPLICA
public static ODistributedConfiguration.ROLES[] values()
for (ODistributedConfiguration.ROLES c : ODistributedConfiguration.ROLES.values()) System.out.println(c);
public static ODistributedConfiguration.ROLES 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 © 2009–2020 OrientDB. All rights reserved.