Package | Description |
---|---|
com.orientechnologies.orient.server.distributed |
Modifier and Type | Method and Description |
---|---|
ODistributedConfiguration.ROLES |
ODistributedConfiguration.getDefaultServerRole()
Returns the default server role between MASTER (default) and REPLICA.
|
ODistributedConfiguration.ROLES |
ODistributedConfiguration.getServerRole(String iServerName)
Returns the server role between MASTER (default) and REPLICA.
|
static ODistributedConfiguration.ROLES |
ODistributedConfiguration.ROLES.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ODistributedConfiguration.ROLES[] |
ODistributedConfiguration.ROLES.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
OModifiableDistributedConfiguration.setServerRole(String iServerName,
ODistributedConfiguration.ROLES role)
Sets the server role between MASTER (default) and REPLICA.
|
Copyright © 2009–2020 OrientDB. All rights reserved.