Modifier and Type | Field and Description |
---|---|
static String |
HILO
Deprecated.
|
static String |
LEGACY_HILO
Deprecated.
|
static String |
NONE
Deprecated.
|
static String |
POOL
Deprecated.
|
static String |
POOL_LO
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Optimizer |
buildOptimizer(String type,
Class returnClass,
int incrementSize)
Deprecated.
Use
buildOptimizer(String, Class, int, long) instead |
static Optimizer |
buildOptimizer(String type,
Class returnClass,
int incrementSize,
long explicitInitialValue)
Builds an optimizer
|
static String |
determineImplicitOptimizerName(int incrementSize,
Properties configSettings)
Determine the optimizer to use when there was not one explicitly specified.
|
static boolean |
isPooledOptimizer(String optimizerName)
Does the given optimizer name represent a pooled strategy?
|
@Deprecated public static final String NONE
StandardOptimizerDescriptor.getExternalName()
via StandardOptimizerDescriptor.NONE
@Deprecated public static final String HILO
StandardOptimizerDescriptor.getExternalName()
via StandardOptimizerDescriptor.HILO
@Deprecated public static final String LEGACY_HILO
StandardOptimizerDescriptor.getExternalName()
via StandardOptimizerDescriptor.LEGACY_HILO
@Deprecated public static final String POOL
StandardOptimizerDescriptor.getExternalName()
via StandardOptimizerDescriptor.POOLED
@Deprecated public static final String POOL_LO
StandardOptimizerDescriptor.getExternalName()
via StandardOptimizerDescriptor.POOLED_LO
public static boolean isPooledOptimizer(String optimizerName)
optimizerName
- The name of the optimizertrue
indicates the optimizer is a pooled strategy.@Deprecated public static Optimizer buildOptimizer(String type, Class returnClass, int incrementSize)
buildOptimizer(String, Class, int, long)
insteadtype
- The optimizer type, either a short-hand name or the Optimizer
class name.returnClass
- The generated value java typeincrementSize
- The increment size.public static Optimizer buildOptimizer(String type, Class returnClass, int incrementSize, long explicitInitialValue)
type
- The optimizer type, either a short-hand name or the Optimizer
class name.returnClass
- The generated value java typeincrementSize
- The increment size.explicitInitialValue
- The user supplied initial-value (-1 indicates the user did not specify).public static String determineImplicitOptimizerName(int incrementSize, Properties configSettings)
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.