public class TimestampGenerator extends AbstractGenerator
allocationSize, block, initialValue, LOCALISER, name, properties, repositoryExists| Constructor and Description |
|---|
TimestampGenerator(String name,
Properties props)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected ValueGenerationBlock |
reserveBlock(long size)
Method to reserve a block of values.
|
allocate, createRepository, current, currentValue, getName, getStorageClass, next, nextValue, obtainGenerationBlock, obtainGenerationBlock, repositoryExists, requiresRepository, reserveBlockpublic TimestampGenerator(String name, Properties props)
name - Symbolic name of the generatorprops - Any properties controlling its behaviour.protected ValueGenerationBlock reserveBlock(long size)
reserveBlock in class AbstractGeneratorsize - Number of elements to reserve.Copyright © 2013. All Rights Reserved.