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
Modifier and TypeFieldDescriptionstatic final int
CDB has an init transaction , when phase 0static final int
CDB has an upgrade transaction , when phase 0 -
Method Summary
Modifier and TypeMethodDescriptionint
The phase CDB is currently in.int
getFlag()
The flag is set if CDB is in phase 0 to any of the values:FLAG_INIT
FLAG_UPGRADE
toString()
-
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
-