public enum StandardOptimizerDescriptor extends Enum<StandardOptimizerDescriptor>
Enum Constant and Description |
---|
HILO
Describes the optimizer for using a custom "hilo" algorithm optimization
|
LEGACY_HILO
Describes the optimizer for using a custom "hilo" algorithm optimization, following the legacy
Hibernate hilo algorithm
|
NONE
Describes the optimizer for no optimization
|
POOLED
Describes the optimizer for use with tables/sequences that store the chunk information.
|
POOLED_LO
Describes the optimizer for use with tables/sequences that store the chunk information.
|
POOLED_LOTL
Describes the optimizer for use with tables/sequences that store the chunk information.
|
Modifier and Type | Method and Description |
---|---|
static StandardOptimizerDescriptor |
fromExternalName(String externalName)
Interpret the incoming external name into the appropriate enum value
|
String |
getExternalName() |
Class<? extends Optimizer> |
getOptimizerClass() |
boolean |
isPooled() |
static StandardOptimizerDescriptor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardOptimizerDescriptor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardOptimizerDescriptor NONE
public static final StandardOptimizerDescriptor HILO
public static final StandardOptimizerDescriptor LEGACY_HILO
public static final StandardOptimizerDescriptor POOLED
public static final StandardOptimizerDescriptor POOLED_LO
public static final StandardOptimizerDescriptor POOLED_LOTL
public static StandardOptimizerDescriptor[] values()
for (StandardOptimizerDescriptor c : StandardOptimizerDescriptor.values()) System.out.println(c);
public static StandardOptimizerDescriptor valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getExternalName()
public boolean isPooled()
public static StandardOptimizerDescriptor fromExternalName(String externalName)
externalName
- The external nameNONE
is returned; if an
unrecognized external name is supplied, null
is returnedCopyright © 2017 JBoss by Red Hat. All rights reserved.