java.lang.Object | |
↳ | org.hibernate.id.enhanced.OptimizerFactory |
Factory for OptimizerFactory.InitialValueAwareOptimizer
instances.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
OptimizerFactory.HiLoOptimizer | Optimizer which applies a 'hilo' algorithm in memory to achieve optimization. | ||||||||||
OptimizerFactory.InitialValueAwareOptimizer | Marker interface for optimizer which wish to know the user-specified initial value. | ||||||||||
OptimizerFactory.LegacyHiLoAlgorithmOptimizer | |||||||||||
OptimizerFactory.NoopOptimizer | An optimizer that performs no optimization. | ||||||||||
OptimizerFactory.OptimizerSupport | Common support for optimizer implementations. | ||||||||||
OptimizerFactory.PooledLoOptimizer | |||||||||||
OptimizerFactory.PooledOptimizer | Optimizer which uses a pool of values, storing the next low value of the range in the database. |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | HILO | ||||||||||
String | LEGACY_HILO | ||||||||||
String | NONE | ||||||||||
String | POOL | ||||||||||
String | POOL_LO |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
Use
buildOptimizer(String, Class, int, long) instead
| |||||||||||
Builds an optimizer
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
This method is deprecated.
Use buildOptimizer(String, Class, int, long)
instead
Builds an optimizer
type | The optimizer type, either a short-hand name or the OptimizerFactory.InitialValueAwareOptimizer class name. |
---|---|
returnClass | The generated value java type |
incrementSize | The increment size. |
Builds an optimizer
type | The optimizer type, either a short-hand name or the OptimizerFactory.InitialValueAwareOptimizer class name. |
---|---|
returnClass | The generated value java type |
incrementSize | The increment size. |
explicitInitialValue | The user supplied initial-value (-1 indicates the user did not specify). |