Package io.agroal.pool
Enum ConnectionHandler.DirtyAttribute
- java.lang.Object
-
- java.lang.Enum<ConnectionHandler.DirtyAttribute>
-
- io.agroal.pool.ConnectionHandler.DirtyAttribute
-
- All Implemented Interfaces:
Serializable,Comparable<ConnectionHandler.DirtyAttribute>
- Enclosing class:
- ConnectionHandler
public static enum ConnectionHandler.DirtyAttribute extends Enum<ConnectionHandler.DirtyAttribute>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOCOMMITCATALOGNETWORK_TIMEOUTSCHEMATRANSACTION_ISOLATION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConnectionHandler.DirtyAttributevalueOf(String name)Returns the enum constant of this type with the specified name.static ConnectionHandler.DirtyAttribute[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTOCOMMIT
public static final ConnectionHandler.DirtyAttribute AUTOCOMMIT
-
TRANSACTION_ISOLATION
public static final ConnectionHandler.DirtyAttribute TRANSACTION_ISOLATION
-
NETWORK_TIMEOUT
public static final ConnectionHandler.DirtyAttribute NETWORK_TIMEOUT
-
SCHEMA
public static final ConnectionHandler.DirtyAttribute SCHEMA
-
CATALOG
public static final ConnectionHandler.DirtyAttribute CATALOG
-
-
Method Detail
-
values
public static ConnectionHandler.DirtyAttribute[] 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 (ConnectionHandler.DirtyAttribute c : ConnectionHandler.DirtyAttribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConnectionHandler.DirtyAttribute 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
-
-