Method Summary |
|
public static synchronized Sequence | get(String seqName) Returns the named sequence, if it exists. |
public int | getKeyIncrement() Returns the key increment. |
public long | getLastkey() Returns the value of the last key allocated. |
public long | getMaxkey() Returns the maximum key value in this block. |
public long | getNext() Returns the next key in the sequence. |
public String | getSequenceName() Returns the sequence name. |
public boolean | hasNext() Check to see if a key is available from this sequence. |
public void | reset() Resets the sequence to its starting point (0). |
public static synchronized void | resetAll() Resets all known sequences. |
public void | setLastkey(long lastkey) Sets the value of the last key allocated. |
public void | setMaxkey(long maxkey) Sets the maximum key value for this block. |