java.lang .Object org.continuent.sequoia.common.jmx.management .BackendState Method Summary public static String description (int state) Return a description which can be displayed to the user corresponding to
one of the backend states.
BACKUPING final public static int BACKUPING (Code) The backend is in a restore process. The content of a backup file is being
copied onto the backen
DISABLED final public static int DISABLED (Code) The backend cannot execute any requests
DISABLING final public static int DISABLING (Code) The backend is set for disabled. It is finishing to execute open
transactions and waits for persistent connections to close
READ_DISABLED_WRITE_ENABLED final public static int READ_DISABLED_WRITE_ENABLED (Code) The backend can execute write requests but not read requests
READ_ENABLED_WRITE_DISABLED final public static int READ_ENABLED_WRITE_DISABLED (Code) The backend can execute read requests, but not write requests
READ_ENABLED_WRITE_ENABLED final public static int READ_ENABLED_WRITE_ENABLED (Code) The backend can execute read and write requests
REPLAYING final public static int REPLAYING (Code) Replaying request from the recovery log
RESTORING final public static int RESTORING (Code) The backend is loading data from a dump file
UNKNOWN final public static int UNKNOWN (Code) Unknown backend state. This is used when the state of the backend cannot be
determined properly. This is the state the backend is set to after a
backup, restore or recovery failure.
description public static String description(int state)(Code) Return a description which can be displayed to the user corresponding to
one of the backend states.
Parameters: state - a int representing a backend state a String representing the state of the backend which can bedisplayed to the user