org.hibernate.id.enhanced
Class OptimizerFactory.OptimizerSupport
java.lang.Object
org.hibernate.id.enhanced.OptimizerFactory.OptimizerSupport
- All Implemented Interfaces:
- Optimizer
- Direct Known Subclasses:
- OptimizerFactory.HiLoOptimizer, OptimizerFactory.NoopOptimizer, OptimizerFactory.PooledOptimizer
- Enclosing class:
- OptimizerFactory
public abstract static class OptimizerFactory.OptimizerSupport
- extends Object
- implements Optimizer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
returnClass
protected final Class returnClass
incrementSize
protected final int incrementSize
OptimizerFactory.OptimizerSupport
protected OptimizerFactory.OptimizerSupport(Class returnClass,
int incrementSize)
make
protected Serializable make(long value)
getReturnClass
public Class getReturnClass()
getIncrementSize
public int getIncrementSize()
- Description copied from interface:
Optimizer
- Retrieves the defined increment size.
- Specified by:
getIncrementSize
in interface Optimizer
- Returns:
- The increment size.