public class TimestampGenerator extends AbstractGenerator<Timestamp>
allocationSize, block, initialValue, name, properties, repositoryExists| Constructor and Description |
|---|
TimestampGenerator(String name,
Properties props)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected ValueGenerationBlock<Timestamp> |
reserveBlock(long size)
Method to reserve a block of values.
|
allocate, createRepository, current, currentValue, getName, 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<Timestamp> reserveBlock(long size)
reserveBlock in class AbstractGenerator<Timestamp>size - Number of elements to reserve.Copyright © 2016. All rights reserved.