Package com.tailf.cdb
Class CdbPhase
Object
com.tailf.cdb.CdbPhase
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.
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCDB has an init transaction , when phase 0static final intCDB has an upgrade transaction , when phase 0 - 
Method Summary
Modifier and TypeMethodDescriptionintThe phase CDB is currently in.intgetFlag()The flag is set if CDB is in phase 0 to any of the values:FLAG_INITFLAG_UPGRADEtoString() 
- 
Field Details
- 
FLAG_INIT
public static final int FLAG_INITCDB has an init transaction , when phase 0- See Also:
 
 - 
FLAG_UPGRADE
public static final int FLAG_UPGRADECDB has an upgrade transaction , when phase 0- See Also:
 
 
 - 
 - 
Method Details
- 
getCurrentPhase
public int getCurrentPhase()The phase CDB is currently in. - 
getFlag
public int getFlag()The flag is set if CDB is in phase 0 to any of the values: - 
toString
 
 -