Enum Class ODistributedServerManager.DB_STATUS
java.lang.Object
java.lang.Enum<ODistributedServerManager.DB_STATUS>
com.orientechnologies.orient.server.distributed.ODistributedServerManager.DB_STATUS
- All Implemented Interfaces:
Serializable,Comparable<ODistributedServerManager.DB_STATUS>,Constable
- Enclosing interface:
ODistributedServerManager
public static enum ODistributedServerManager.DB_STATUS
extends Enum<ODistributedServerManager.DB_STATUS>
Database status.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe database is not installed.The database has been put in OFFLINE status.The database is ONLINE as fully operative. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ODistributedServerManager.DB_STATUS[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_AVAILABLE
The database is not installed. In this status the server does not receive any request. -
OFFLINE
The database has been put in OFFLINE status. In this status the server does not receive any request. -
ONLINE
The database is ONLINE as fully operative. During this status the server is considered in the quorum (if the server's role is MASTER)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-