public static enum JdbcMeta.ConnectionCacheSettings extends Enum<JdbcMeta.ConnectionCacheSettings>
Enum Constant and Description |
---|
CONCURRENCY_LEVEL
JDBC connection property for setting connection cache concurrency level.
|
EXPIRY_DURATION
JDBC connection property for setting connection cache expiration duration.
|
EXPIRY_UNIT
JDBC connection property for setting connection cache expiration unit.
|
INITIAL_CAPACITY
JDBC connection property for setting connection cache initial capacity.
|
MAX_CAPACITY
JDBC connection property for setting connection cache maximum capacity.
|
Modifier and Type | Method and Description |
---|---|
String |
defaultValue()
The default value for this setting.
|
String |
key()
The configuration key for specifying this setting.
|
static JdbcMeta.ConnectionCacheSettings |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JdbcMeta.ConnectionCacheSettings[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JdbcMeta.ConnectionCacheSettings CONCURRENCY_LEVEL
public static final JdbcMeta.ConnectionCacheSettings INITIAL_CAPACITY
public static final JdbcMeta.ConnectionCacheSettings MAX_CAPACITY
public static final JdbcMeta.ConnectionCacheSettings EXPIRY_DURATION
public static final JdbcMeta.ConnectionCacheSettings EXPIRY_UNIT
public static JdbcMeta.ConnectionCacheSettings[] values()
for (JdbcMeta.ConnectionCacheSettings c : JdbcMeta.ConnectionCacheSettings.values()) System.out.println(c);
public static JdbcMeta.ConnectionCacheSettings 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 key()
public String defaultValue()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.