|
||||||||||
| 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.TimestampGenerator
public class TimestampGenerator
Value generator for timestamps.
| Field Summary |
|---|
| Fields inherited from class org.datanucleus.store.valuegenerator.AbstractGenerator |
|---|
allocationSize, block, initialValue, LOCALISER, name, properties, repositoryExists |
| Constructor Summary | |
|---|---|
TimestampGenerator(java.lang.String name,
java.util.Properties props)
Constructor. |
|
| Method Summary | |
|---|---|
protected ValueGenerationBlock |
reserveBlock(long size)
Method to reserve a block of values. |
| Methods inherited from class org.datanucleus.store.valuegenerator.AbstractGenerator |
|---|
allocate, createRepository, current, currentValue, getName, getStorageClass, 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 TimestampGenerator(java.lang.String name,
java.util.Properties props)
name - Symbolic name of the generatorprops - Any properties controlling its behaviour.| Method Detail |
|---|
protected ValueGenerationBlock reserveBlock(long size)
reserveBlock in class AbstractGeneratorsize - Number of elements to reserve.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||