- <init>
Opens the id generator represented by fileName. ThegrabSize means how many
defragged ids we should k
- createGenerator
Creates a new id generator.
- readHighId
Read the high-id count from the given id-file. Note that this method should only
be used when the fi
- close
Closes the id generator flushing defragged ids in memory to file. The file will
be truncated to the
- freeId
Frees the id making it a defragged id that will be returned by next id before
any new id (that hasn'
- nextId
Returns the next "free" id. If a defragged id exist it will be returned else the
next free id that h
- readDefragCount
Read the defragmented id count from the given id-file. Note that this method
should only be used whe
- assertStillOpen
- delete
- getHighId
Returns the next "high" id that will be returned if no defragged ids exist.
- setHighId
Sets the next free "high" id. This method should be called when an id generator
has been rebuilt. id