Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

org.objectweb.cjdbc.common.shared.BackendState Interface Reference

List of all members.

Public Attributes

int READ_ENABLED_WRITE_DISABLED = 0

Package Attributes

int READ_ENABLED_WRITE_ENABLED = 1
int READ_DISABLED_WRITE_ENABLED = 2
int DISABLED = 3
int RECOVERING = 4
int DISABLING = 5
int BACKUPING = 6
int UNKNOWN = -1
int REPLAYING = 7

Detailed Description

This describes the different backend states

Author:
Nicolas Modrzyk
Version:
1.0

Definition at line 33 of file BackendState.java.


Member Data Documentation

int org.objectweb.cjdbc.common.shared.BackendState.BACKUPING = 6 [package]
 

The backend is in a restore process. The content of a backup file is being copied onto the backen

Definition at line 71 of file BackendState.java.

int org.objectweb.cjdbc.common.shared.BackendState.DISABLED = 3 [package]
 

The backend cannot execute any requests

Definition at line 54 of file BackendState.java.

int org.objectweb.cjdbc.common.shared.BackendState.DISABLING = 5 [package]
 

The backend is set for disabled. It is finishing to execute open transactions

Definition at line 65 of file BackendState.java.

int org.objectweb.cjdbc.common.shared.BackendState.READ_DISABLED_WRITE_ENABLED = 2 [package]
 

The backend can execute write requests but not read requests

Definition at line 49 of file BackendState.java.

int org.objectweb.cjdbc.common.shared.BackendState.READ_ENABLED_WRITE_DISABLED = 0
 

The backend can execute read requests, but not write requests

Definition at line 39 of file BackendState.java.

int org.objectweb.cjdbc.common.shared.BackendState.READ_ENABLED_WRITE_ENABLED = 1 [package]
 

The backend can execute read and write requests

Definition at line 44 of file BackendState.java.

int org.objectweb.cjdbc.common.shared.BackendState.RECOVERING = 4 [package]
 

The backend is loading data from a dump file

Definition at line 59 of file BackendState.java.

int org.objectweb.cjdbc.common.shared.BackendState.REPLAYING = 7 [package]
 

Replaying request from the recovery log

Definition at line 83 of file BackendState.java.

int org.objectweb.cjdbc.common.shared.BackendState.UNKNOWN = -1 [package]
 

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.

Definition at line 78 of file BackendState.java.


The documentation for this interface was generated from the following file:
Generated on Mon Apr 11 22:02:02 2005 for C-JDBC by  doxygen 1.3.9.1