public enum StoreAndForwordMode extends Enum<StoreAndForwordMode>
normal - safe mode: messages are stored into a database and then are scheduled
fast - fast mode: messages are firstly tried to deliver and only when failure - store into a databse for further delivering
| Modifier and Type | Method and Description |
|---|---|
static StoreAndForwordMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StoreAndForwordMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StoreAndForwordMode normal
public static final StoreAndForwordMode fast
public static StoreAndForwordMode[] values()
for (StoreAndForwordMode c : StoreAndForwordMode.values()) System.out.println(c);
public static StoreAndForwordMode 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. All Rights Reserved.