public class NeoDatisIncrementGenerator extends org.datanucleus.store.valuegenerator.AbstractDatastoreGenerator<Long>
| Constructor and Description |
|---|
NeoDatisIncrementGenerator(String name,
Properties props)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.datanucleus.store.valuegenerator.ValueGenerationBlock<Long> |
obtainGenerationBlock(int number)
Get a new PoidBlock with the specified number of ids.
|
protected org.datanucleus.store.valuegenerator.ValueGenerationBlock<Long> |
reserveBlock(long size)
Method to reserve a block of "size" identities.
|
setConnectionProvider, setStoreManagerpublic NeoDatisIncrementGenerator(String name, Properties props)
name - Symbolic name for this generatorprops - Properties defining the behaviour of this generatorprotected org.datanucleus.store.valuegenerator.ValueGenerationBlock<Long> obtainGenerationBlock(int number)
obtainGenerationBlock in class org.datanucleus.store.valuegenerator.AbstractGenerator<Long>number - The number of additional ids requiredprotected org.datanucleus.store.valuegenerator.ValueGenerationBlock<Long> reserveBlock(long size)
reserveBlock in class org.datanucleus.store.valuegenerator.AbstractGenerator<Long>size - Block sizeCopyright © 2015. All rights reserved.