Method Summary |
|
public synchronized void | allocate(int additional) Method to allocate a number of values into the block. |
protected boolean | createRepository() Method to create any needed repository for the ids. |
public synchronized Object | current() Accessor for the current value allocated. |
public long | currentValue() Accessor for the current element in the sequence as a long. |
public String | getName() Accessor for the symbolic name for this generator. |
public static Class | getStorageClass() Accessor for the storage class for POIDs generated with this generator. |
public synchronized Object | next() Get next value from the reserved block of values. |
public long | nextValue() Accessor for the next element in the sequence as a long. |
protected PoidBlock | obtainPoidBlock() Get a new PoidBlock with the default number of ids. |
protected PoidBlock | obtainPoidBlock(int number) Get a new PoidBlock with the specified number of ids. |
protected boolean | requiresRepository() Indicator for whether the generator requires its own repository. |
protected PoidBlock | reserveBlock() Method to reserve a default sized block of identities. |
abstract protected PoidBlock | reserveBlock(long size) Method to reserve a blobk of "size" ids. |