public enum ExecutorType extends Enum<ExecutorType>
Modifier and Type | Method and Description |
---|---|
static ExecutorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutorType SIMPLE
public static final ExecutorType REUSE
public static final ExecutorType BATCH
public static ExecutorType[] values()
for (ExecutorType c : ExecutorType.values()) System.out.println(c);
public static ExecutorType 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 © 2010–2015 MyBatis.org. All rights reserved.