public class TimestampValueGenerator extends AbstractGenerator
allocationSize, block, initialValue, LOCALISER, name, properties, repositoryExists
Constructor and Description |
---|
TimestampValueGenerator(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, reserveBlock
public TimestampValueGenerator(String name, Properties props)
name
- Symbolic name of the generatorprops
- Any properties controlling its behaviour.protected ValueGenerationBlock reserveBlock(long size)
reserveBlock
in class AbstractGenerator
size
- Number of elements to reserve.Copyright © 2021. All rights reserved.