Package com.tailf.cdb

Class CdbPhase

Object
com.tailf.cdb.CdbPhase

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.

  • Field Details

    • FLAG_INIT

      public static final int FLAG_INIT
      CDB has an init transaction , when phase 0
      See Also:
    • FLAG_UPGRADE

      public static final int FLAG_UPGRADE
      CDB 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

      public String toString()
      Overrides:
      toString in class Object