public class CdbPhase extends Object
Represents the start-phase CDB is currently in.
 If CDB is in phase 0 and has initiated an
 init transaction (to load any init files) the static
 flag CdbPhase.FLAG_INIT is set in the
 flags field and correspondingly if an upgrade session is started the
 CdbPhase.FLAG_UPGRADE is set.
 
| Modifier and Type | Field and Description | 
|---|---|
static int | 
FLAG_INIT
CDB has an init transaction , when phase 0 
 | 
static int | 
FLAG_UPGRADE
CDB has an upgrade transaction , when phase 0 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getCurrentPhase()
The phase CDB is currently in. 
 | 
int | 
getFlag()
The flag is set if CDB is in phase 0 to any of the values:
 
   
CdbPhase.FLAG_INIT
  CdbPhase.FLAG_UPGRADE
  | 
String | 
toString()  | 
public static final int FLAG_INIT
public static final int FLAG_UPGRADE