public static enum JdbcMeta.StatementCacheSettings extends Enum<JdbcMeta.StatementCacheSettings>
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.StatementCacheSettings |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JdbcMeta.StatementCacheSettings[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JdbcMeta.StatementCacheSettings CONCURRENCY_LEVEL
public static final JdbcMeta.StatementCacheSettings INITIAL_CAPACITY
public static final JdbcMeta.StatementCacheSettings MAX_CAPACITY
public static final JdbcMeta.StatementCacheSettings EXPIRY_DURATION
Used in conjunction with EXPIRY_UNIT
.
public static final JdbcMeta.StatementCacheSettings EXPIRY_UNIT
Used in conjunction with EXPIRY_DURATION
.
public static JdbcMeta.StatementCacheSettings[] values()
for (JdbcMeta.StatementCacheSettings c : JdbcMeta.StatementCacheSettings.values()) System.out.println(c);
public static JdbcMeta.StatementCacheSettings 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-2024 Apache Software Foundation. All Rights Reserved.