org.objectweb.cjdbc.common.shared
Class BackendState

java.lang.Object
  extended byorg.objectweb.cjdbc.common.shared.BackendState

public final class BackendState
extends java.lang.Object

This describes the different backend states

Version:
1.0
Author:
Nicolas Modrzyk , Emmanuel Cecchet

Field Summary
static int BACKUPING
          The backend is in a restore process.
static int DISABLED
          The backend cannot execute any requests
static int DISABLING
          The backend is set for disabled.
static int READ_DISABLED_WRITE_ENABLED
          The backend can execute write requests but not read requests
static int READ_ENABLED_WRITE_DISABLED
          The backend can execute read requests, but not write requests
static int READ_ENABLED_WRITE_ENABLED
          The backend can execute read and write requests
static int RECOVERING
          The backend is loading data from a dump file
static int REPLAYING
          Replaying request from the recovery log
static int UNKNOWN
          Unknown backend state.
 
Constructor Summary
BackendState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

READ_ENABLED_WRITE_DISABLED

public static final int READ_ENABLED_WRITE_DISABLED
The backend can execute read requests, but not write requests

See Also:
Constant Field Values

READ_ENABLED_WRITE_ENABLED

public static final int READ_ENABLED_WRITE_ENABLED
The backend can execute read and write requests

See Also:
Constant Field Values

READ_DISABLED_WRITE_ENABLED

public static final int READ_DISABLED_WRITE_ENABLED
The backend can execute write requests but not read requests

See Also:
Constant Field Values

DISABLED

public static final int DISABLED
The backend cannot execute any requests

See Also:
Constant Field Values

RECOVERING

public static final int RECOVERING
The backend is loading data from a dump file

See Also:
Constant Field Values

DISABLING

public static final int DISABLING
The backend is set for disabled. It is finishing to execute open transactions

See Also:
Constant Field Values

BACKUPING

public static final int BACKUPING
The backend is in a restore process. The content of a backup file is being copied onto the backen

See Also:
Constant Field Values

UNKNOWN

public static final int UNKNOWN
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.

See Also:
Constant Field Values

REPLAYING

public static final int REPLAYING
Replaying request from the recovery log

See Also:
Constant Field Values
Constructor Detail

BackendState

public BackendState()


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.