@InterfaceAudience.Public @InterfaceStability.Evolving public static enum SessionConfiguration.FlushMode extends Enum<SessionConfiguration.FlushMode>
Enum Constant and Description |
---|
AUTO_FLUSH_BACKGROUND |
AUTO_FLUSH_SYNC |
MANUAL_FLUSH |
Modifier and Type | Method and Description |
---|---|
static SessionConfiguration.FlushMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionConfiguration.FlushMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionConfiguration.FlushMode AUTO_FLUSH_SYNC
public static final SessionConfiguration.FlushMode AUTO_FLUSH_BACKGROUND
public static final SessionConfiguration.FlushMode MANUAL_FLUSH
public static SessionConfiguration.FlushMode[] values()
for (SessionConfiguration.FlushMode c : SessionConfiguration.FlushMode.values()) System.out.println(c);
public static SessionConfiguration.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 © 2016 The Apache Software Foundation. All rights reserved.