public enum StandardOptimizerDescriptor extends java.lang.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(java.lang.String externalName)
Interpret the incoming external name into the appropriate enum value
|
java.lang.String |
getExternalName() |
java.lang.Class<? extends Optimizer> |
getOptimizerClass() |
boolean |
isPooled() |
static StandardOptimizerDescriptor |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getExternalName()
public java.lang.Class<? extends Optimizer> getOptimizerClass()
public boolean isPooled()
public static StandardOptimizerDescriptor fromExternalName(java.lang.String externalName)
externalName
- The external nameNONE
is returned; if an
unrecognized external name is supplied, null
is returnedCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.