|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.valuegenerator.AbstractGenerator
org.datanucleus.store.valuegenerator.AbstractUIDGenerator
public abstract class AbstractUIDGenerator
Value generator for a UID format. To be extended by implementations giving the UID in particular forms.
| Field Summary |
|---|
| Fields inherited from class org.datanucleus.store.valuegenerator.AbstractGenerator |
|---|
allocationSize, block, initialValue, LOCALISER, name, properties, repositoryExists |
| Constructor Summary | |
|---|---|
AbstractUIDGenerator(java.lang.String name,
java.util.Properties props)
Constructor. |
|
| Method Summary | |
|---|---|
protected abstract java.lang.String |
getIdentifier()
Create an identifier in the UID format required. |
static java.lang.Class |
getStorageClass()
Accessor for the storage class for values generated with this generator. |
protected ValueGenerationBlock |
reserveBlock(long size)
Method to reserve "size" values to the block. |
| Methods inherited from class org.datanucleus.store.valuegenerator.AbstractGenerator |
|---|
allocate, createRepository, current, currentValue, getName, next, nextValue, obtainGenerationBlock, obtainGenerationBlock, repositoryExists, requiresRepository, reserveBlock |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractUIDGenerator(java.lang.String name,
java.util.Properties props)
name - Symbolic name for this generatorprops - Properties controlling its behaviour| Method Detail |
|---|
public static java.lang.Class getStorageClass()
protected ValueGenerationBlock reserveBlock(long size)
reserveBlock in class AbstractGeneratorsize - The block size
protected abstract java.lang.String getIdentifier()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||