- <init>
Constructor. This creates a new phase as a duplicate of the specified phase, and
then adds it to the
- use
Indicate that this phase is in use. Increments the reference count.
- writeToBlock
Writes the details of the current phase into a block.
- decNrValidItems
Reduce the number of valid items in this phase by one.
- getHead
Gets the index of the head within the file for this phase.
- getNextItem
The next free item for this phase. Only useful for the writing phase.
- getNrValidItems
Gets the number of valid items in this phase.
- getSequenceNumber
Gets the sequence number for the current phase. These start at zero each time
the Database is starte
- getTail
Gets the index of the tail within the file for this phase.
- getToken
Gets the token which represents a reference to the current phase. A new token is
created if no token
- incNrValidItems
Increment the number of valid items in this phase.
- init
Sets initial values for this phase. Used by the various constructors.