|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.valuegenerator.AbstractGenerator
org.datanucleus.store.valuegenerator.AbstractDatastoreGenerator
org.datanucleus.store.hbase.valuegenerator.IncrementGenerator
public class IncrementGenerator
Generator that uses a table in HBase to store and allocate identity values.
| Field Summary |
|---|
| Fields inherited from class org.datanucleus.store.valuegenerator.AbstractDatastoreGenerator |
|---|
connectionProvider, storeMgr |
| Fields inherited from class org.datanucleus.store.valuegenerator.AbstractGenerator |
|---|
allocationSize, block, initialValue, LOCALISER, name, properties, repositoryExists |
| Constructor Summary | |
|---|---|
IncrementGenerator(java.lang.String name,
java.util.Properties props)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
|
protected org.datanucleus.store.valuegenerator.ValueGenerationBlock |
reserveBlock(long size)
|
| Methods inherited from class org.datanucleus.store.valuegenerator.AbstractDatastoreGenerator |
|---|
setConnectionProvider, setStoreManager |
| Methods inherited from class org.datanucleus.store.valuegenerator.AbstractGenerator |
|---|
allocate, createRepository, current, currentValue, getStorageClass, 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 |
| Methods inherited from interface org.datanucleus.store.valuegenerator.ValueGenerator |
|---|
allocate, current, currentValue, next, nextValue |
| Constructor Detail |
|---|
public IncrementGenerator(java.lang.String name,
java.util.Properties props)
name - Symbolic name for this generatorprops - Properties controlling the behaviour of the generator (or null if not required).| Method Detail |
|---|
public java.lang.String getName()
getName in interface org.datanucleus.store.valuegenerator.ValueGeneratorgetName in class org.datanucleus.store.valuegenerator.AbstractGeneratorprotected org.datanucleus.store.valuegenerator.ValueGenerationBlock reserveBlock(long size)
reserveBlock in class org.datanucleus.store.valuegenerator.AbstractGenerator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||