|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.id.enhanced.OptimizerFactory.OptimizerSupport
org.hibernate.id.enhanced.OptimizerFactory.PooledLoOptimizer
public static class OptimizerFactory.PooledLoOptimizer
Field Summary |
---|
Fields inherited from class org.hibernate.id.enhanced.OptimizerFactory.OptimizerSupport |
---|
incrementSize, returnClass |
Constructor Summary | |
---|---|
OptimizerFactory.PooledLoOptimizer(java.lang.Class returnClass,
int incrementSize)
|
Method Summary | |
---|---|
boolean |
applyIncrementSizeToSourceValues()
Are increments to be applied to the values stored in the underlying value source? |
java.io.Serializable |
generate(AccessCallback callback)
Generate an identifier value accounting for this specific optimization. |
IntegralDataTypeHolder |
getLastSourceValue()
A common means to access the last value obtained from the underlying source. |
Methods inherited from class org.hibernate.id.enhanced.OptimizerFactory.OptimizerSupport |
---|
getIncrementSize, getReturnClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OptimizerFactory.PooledLoOptimizer(java.lang.Class returnClass, int incrementSize)
Method Detail |
---|
public java.io.Serializable generate(AccessCallback callback)
Optimizer
callback
- Callback to access the underlying value source.
public IntegralDataTypeHolder getLastSourceValue()
Optimizer
public boolean applyIncrementSizeToSourceValues()
Optimizer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |