com.atlassian.jira.configurator.config
Enum ConnectionPoolField
java.lang.Object
java.lang.Enum<ConnectionPoolField>
com.atlassian.jira.configurator.config.ConnectionPoolField
- All Implemented Interfaces:
- Serializable, Comparable<ConnectionPoolField>
public enum ConnectionPoolField
- extends Enum<ConnectionPoolField>
Contains descriptions for the various connection pool settings.
These are paraphrased from the DBCP documentation.
- Since:
- v5.1
MAX_SIZE
public static final ConnectionPoolField MAX_SIZE
MAX_IDLE
public static final ConnectionPoolField MAX_IDLE
MIN_SIZE
public static final ConnectionPoolField MIN_SIZE
INITIAL_SIZE
public static final ConnectionPoolField INITIAL_SIZE
MAX_WAIT
public static final ConnectionPoolField MAX_WAIT
POOL_STATEMENTS
public static final ConnectionPoolField POOL_STATEMENTS
MAX_OPEN_STATEMENTS
public static final ConnectionPoolField MAX_OPEN_STATEMENTS
VALIDATION_QUERY
public static final ConnectionPoolField VALIDATION_QUERY
VALIDATION_QUERY_TIMEOUT
public static final ConnectionPoolField VALIDATION_QUERY_TIMEOUT
TEST_ON_BORROW
public static final ConnectionPoolField TEST_ON_BORROW
TEST_ON_RETURN
public static final ConnectionPoolField TEST_ON_RETURN
TEST_WHILE_IDLE
public static final ConnectionPoolField TEST_WHILE_IDLE
TIME_BETWEEN_EVICTION_RUNS
public static final ConnectionPoolField TIME_BETWEEN_EVICTION_RUNS
MIN_EVICTABLE_IDLE_TIME
public static final ConnectionPoolField MIN_EVICTABLE_IDLE_TIME
REMOVE_ABANDONED
public static final ConnectionPoolField REMOVE_ABANDONED
REMOVE_ABANDONED_TIMEOUT
public static final ConnectionPoolField REMOVE_ABANDONED_TIMEOUT
values
public static ConnectionPoolField[] 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 (ConnectionPoolField c : ConnectionPoolField.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ConnectionPoolField 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
getScalabityAndPerformanceFields
public static List<ConnectionPoolField> getScalabityAndPerformanceFields()
getEvictionPolicyFields
public static List<ConnectionPoolField> getEvictionPolicyFields()
getLengthHint
public int getLengthHint()
label
public String label()
description
public String description()
defaultValue
public String defaultValue()
Copyright © 2002-2013 Atlassian. All Rights Reserved.