com.alibaba.druid.pool
Enum PreparedStatementPool.MethodType

java.lang.Object
  extended by java.lang.Enum<PreparedStatementPool.MethodType>
      extended by 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>


Enum Constant Summary
M1
           
M2
           
M3
           
M4
           
M5
           
M6
           
Precall_1
           
Precall_2
           
Precall_3
           
 
Method Summary
static PreparedStatementPool.MethodType valueOf(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.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null


Copyright © 2012 Alibaba Group. All Rights Reserved.