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 ONLINE, but is not involved in the quorum.The database is not installed.The database has been put in OFFLINE status.The database is ONLINE as fully operative.The database is in synchronization status. -
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. -
SYNCHRONIZING
The database is in synchronization status. This status is set when a synchronization (full or delta) is requested. The node tha accepts the synchronization, is in SYNCHRONIZING mode too. During this status the server receive requests that will be enqueue until the database is ready. Server in SYNCHRONIZING status do not concur in the quorum. -
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) -
BACKUP
The database is ONLINE, but is not involved in the quorum.
-
-
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
-