public abstract static class OptimizerFactory.OptimizerSupport extends java.lang.Object implements Optimizer
Modifier and Type | Field and Description |
---|---|
protected int |
incrementSize |
protected java.lang.Class |
returnClass |
Modifier | Constructor and Description |
---|---|
protected |
OptimizerFactory.OptimizerSupport(java.lang.Class returnClass,
int incrementSize)
Construct an optimizer
|
Modifier and Type | Method and Description |
---|---|
int |
getIncrementSize()
Retrieves the defined increment size.
|
java.lang.Class |
getReturnClass()
Getter for property 'returnClass'.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyIncrementSizeToSourceValues, generate, getLastSourceValue
protected final java.lang.Class returnClass
protected final int incrementSize
protected OptimizerFactory.OptimizerSupport(java.lang.Class returnClass, int incrementSize)
returnClass
- The expected id class.incrementSize
- The increment sizepublic final java.lang.Class getReturnClass()
Long
).public final int getIncrementSize()
getIncrementSize
in interface Optimizer
Copyright © 2013. All Rights Reserved.