Methods inherited from class org.datanucleus.store.valuegenerator.AbstractGenerator
allocate, createRepository, current, currentValue, getName, 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
protected ValueGenerationBlock<Long> reserveBlock(long size)
Method to reserve a block of values.
Only ever reserves a single timestamp, to the time at which it is created.
- Specified by:
reserveBlock in class
size - Number of elements to reserve.
- The block.
Copyright © 2016. All rights reserved.