public enum DefaultDataSourceValues extends Enum<DefaultDataSourceValues>
| Enum Constant and Description |
|---|
EVICTION_RUN_PERIOD
Copied from
BaseObjectPoolConfig.DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS in Commons-DBCP 2.7.0 |
MAX_CONN_LIFETIME
Copied from private variable
BasicDataSource.maxConnLifetimeMillis in Commons-DBCP 2.7.0 |
MAX_IDLE
Copied from
GenericObjectPoolConfig.DEFAULT_MAX_IDLE in Commons-DBCP 2.7.0 |
MAX_TOTAL_CONNECTIONS |
MAX_WAIT_TIME |
MIN_EVICTABLE_IDLE_TIME
Copied from
BaseObjectPoolConfig.DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS in Commons-DBCP 2.7.0
and converted from 1800000L to "1800000 millis" to "30 mins" |
MIN_IDLE
Copied from
GenericObjectPoolConfig.DEFAULT_MIN_IDLE in Commons-DBCP 2.7.0 |
SOFT_MIN_EVICTABLE_IDLE_TIME
Copied from
BaseObjectPoolConfig.DEFAULT_SOFT_MIN_EVICTABLE_IDLE_TIME_MILLIS in Commons-DBCP 2.7.0 |
| Modifier and Type | Method and Description |
|---|---|
Long |
getLongValue() |
String |
getValue() |
static DefaultDataSourceValues |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultDataSourceValues[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultDataSourceValues MAX_WAIT_TIME
public static final DefaultDataSourceValues MAX_TOTAL_CONNECTIONS
public static final DefaultDataSourceValues MIN_IDLE
GenericObjectPoolConfig.DEFAULT_MIN_IDLE in Commons-DBCP 2.7.0public static final DefaultDataSourceValues MAX_IDLE
GenericObjectPoolConfig.DEFAULT_MAX_IDLE in Commons-DBCP 2.7.0public static final DefaultDataSourceValues MAX_CONN_LIFETIME
BasicDataSource.maxConnLifetimeMillis in Commons-DBCP 2.7.0public static final DefaultDataSourceValues EVICTION_RUN_PERIOD
BaseObjectPoolConfig.DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS in Commons-DBCP 2.7.0public static final DefaultDataSourceValues MIN_EVICTABLE_IDLE_TIME
BaseObjectPoolConfig.DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS in Commons-DBCP 2.7.0
and converted from 1800000L to "1800000 millis" to "30 mins"public static final DefaultDataSourceValues SOFT_MIN_EVICTABLE_IDLE_TIME
BaseObjectPoolConfig.DEFAULT_SOFT_MIN_EVICTABLE_IDLE_TIME_MILLIS in Commons-DBCP 2.7.0private final String value
public static DefaultDataSourceValues[] values()
for (DefaultDataSourceValues c : DefaultDataSourceValues.values()) System.out.println(c);
public static DefaultDataSourceValues 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 nullpublic String getValue()
public Long getLongValue()
Copyright © 2023 Apache NiFi Project. All rights reserved.