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