|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.id.enhanced.OptimizerFactory
public class OptimizerFactory
Factory for Optimizer
instances.
Nested Class Summary | |
---|---|
static class |
OptimizerFactory.HiLoOptimizer
Optimizer which applies a 'hilo' algorithm in memory to achieve optimization. |
static class |
OptimizerFactory.NoopOptimizer
An optimizer that performs no optimization. |
static class |
OptimizerFactory.OptimizerSupport
Common support for optimizer implementations. |
static class |
OptimizerFactory.PooledOptimizer
Optimizer which uses a pool of values, storing the next low value of the range in the database. |
Field Summary | |
---|---|
static String |
HILO
|
static String |
NONE
|
static String |
POOL
|
Constructor Summary | |
---|---|
OptimizerFactory()
|
Method Summary | |
---|---|
static Optimizer |
buildOptimizer(String type,
Class returnClass,
int incrementSize)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NONE
public static final String HILO
public static final String POOL
Constructor Detail |
---|
public OptimizerFactory()
Method Detail |
---|
public static Optimizer buildOptimizer(String type, Class returnClass, int incrementSize)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |