Class IncrementGenerator

  extended by
      extended by
          extended by
All Implemented Interfaces:

public class IncrementGenerator

Generator that uses a table in HBase to store and allocate identity values.

Field Summary
Fields inherited from class
connectionProvider, storeMgr
Fields inherited from class
allocationSize, block, initialValue, LOCALISER, name, properties, repositoryExists
Constructor Summary
IncrementGenerator(java.lang.String name, java.util.Properties props)
Method Summary
 java.lang.String getName()
protected reserveBlock(long size)
Methods inherited from class
setConnectionProvider, setStoreManager
Methods inherited from class
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
allocate, current, currentValue, next, nextValue

Constructor Detail


public IncrementGenerator(java.lang.String name,
                          java.util.Properties props)
Constructor. Will receive the following properties (as a minimum) through this constructor.

name - Symbolic name for this generator
props - Properties controlling the behaviour of the generator (or null if not required).
Method Detail


public java.lang.String getName()
Specified by:
getName in interface
getName in class


protected reserveBlock(long size)
Specified by:
reserveBlock in class

Copyright © 2012. All Rights Reserved.