public class MaxGenerator extends AbstractRDBMSGenerator
Required user properties
Optional user properties
connection, LOCALISER_RDBMS| Constructor and Description |
|---|
MaxGenerator(String name,
Properties props)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.datanucleus.store.valuegenerator.ValueGenerationBlock |
reserveBlock(long size)
Method to reserve a block of identities.
|
obtainGenerationBlock, requiresConnectionsetConnectionProvider, setStoreManagerpublic MaxGenerator(String name, Properties props)
name - Symbolic name for this generatorprops - Properties defining the behaviour of this generatorpublic org.datanucleus.store.valuegenerator.ValueGenerationBlock reserveBlock(long size)
reserveBlock in class org.datanucleus.store.valuegenerator.AbstractGeneratorsize - The block sizeCopyright © 2013. All Rights Reserved.