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.
  • Enum Constant Details

    • NOT_AVAILABLE

      public static final ODistributedServerManager.DB_STATUS NOT_AVAILABLE
      The database is not installed. In this status the server does not receive any request.
    • OFFLINE

      public static final ODistributedServerManager.DB_STATUS OFFLINE
      The database has been put in OFFLINE status. In this status the server does not receive any request.
    • SYNCHRONIZING

      public static final ODistributedServerManager.DB_STATUS 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

      public static final ODistributedServerManager.DB_STATUS 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

      public static final ODistributedServerManager.DB_STATUS BACKUP
      The database is ONLINE, but is not involved in the quorum.
  • Method Details

    • values

      public static ODistributedServerManager.DB_STATUS[] 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

      public static ODistributedServerManager.DB_STATUS valueOf(String name)
      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 name
      NullPointerException - if the argument is null