public enum FlushMode extends Enum<FlushMode>
Enum Constant and Description |
---|
AUTO
Flush automatically on any update.
|
MANUAL
Flush on explicit flush()/commit() calls only.
|
QUERY
Flush on explicit flush()/commit() calls, and just before any query.
|
Modifier and Type | Method and Description |
---|---|
static FlushMode |
getFlushModeForString(String value)
Return the FlushMode from a name string.
|
static FlushMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlushMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlushMode AUTO
public static final FlushMode QUERY
public static final FlushMode MANUAL
public static FlushMode[] values()
for (FlushMode c : FlushMode.values()) System.out.println(c);
public static FlushMode 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 nullCopyright © 2019. All rights reserved.