Package com.alibaba.druid.pool
Enum PreparedStatementPool.MethodType
- java.lang.Object
-
- java.lang.Enum<PreparedStatementPool.MethodType>
-
- com.alibaba.druid.pool.PreparedStatementPool.MethodType
-
- All Implemented Interfaces:
Serializable,Comparable<PreparedStatementPool.MethodType>
- Enclosing class:
- PreparedStatementPool
public static enum PreparedStatementPool.MethodType extends Enum<PreparedStatementPool.MethodType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PreparedStatementPool.MethodTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PreparedStatementPool.MethodType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
M1
public static final PreparedStatementPool.MethodType M1
-
M2
public static final PreparedStatementPool.MethodType M2
-
M3
public static final PreparedStatementPool.MethodType M3
-
M4
public static final PreparedStatementPool.MethodType M4
-
M5
public static final PreparedStatementPool.MethodType M5
-
M6
public static final PreparedStatementPool.MethodType M6
-
Precall_1
public static final PreparedStatementPool.MethodType Precall_1
-
Precall_2
public static final PreparedStatementPool.MethodType Precall_2
-
Precall_3
public static final PreparedStatementPool.MethodType Precall_3
-
-
Method Detail
-
values
public static PreparedStatementPool.MethodType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PreparedStatementPool.MethodType c : PreparedStatementPool.MethodType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PreparedStatementPool.MethodType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-