public static enum Writer.PushMode extends Enum<Writer.PushMode>
Enum Constant and Description |
---|
ASYNC |
EXP_ASYNC |
EXP_FAST |
EXP_NORMAL |
EXP_TRUNCATE |
FAST |
NORMAL |
PINNED_FAST |
PINNED_NORMAL |
TRUNCATE |
Modifier and Type | Field and Description |
---|---|
protected int |
value |
Modifier and Type | Method and Description |
---|---|
int |
asInt() |
static Writer.PushMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Writer.PushMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Writer.PushMode NORMAL
public static final Writer.PushMode ASYNC
public static final Writer.PushMode FAST
public static final Writer.PushMode TRUNCATE
public static final Writer.PushMode PINNED_NORMAL
public static final Writer.PushMode PINNED_FAST
public static final Writer.PushMode EXP_NORMAL
public static final Writer.PushMode EXP_FAST
public static final Writer.PushMode EXP_ASYNC
public static final Writer.PushMode EXP_TRUNCATE
public static Writer.PushMode[] values()
for (Writer.PushMode c : Writer.PushMode.values()) System.out.println(c);
public static Writer.PushMode 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 int asInt()
Copyright © 2021. All rights reserved.