|
Franz Inc, AllegroGraph | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AGPoolProp>
com.franz.agraph.pool.AGPoolProp
public enum AGPoolProp
Property names for AGPoolConfig
.
Property names to open a AGRepositoryConnection
.
TODO: AGRepositoryConnection.setSessionLoadInitFile(boolean)
TODO: AGRepositoryConnection.addSessionLoadScript(String)
GenericObjectPool
.
GenericObjectPool
,
GenericKeyedObjectPool.Config
Enum Constant Summary | |
---|---|
initialSize
When the pool is created, this many connections will be initialized, then returned to the pool. |
|
maxActive
|
|
maxIdle
|
|
maxWait
|
|
minEvictableIdleTimeMillis
|
|
minIdle
|
|
numTestsPerEvictionRun
|
|
shutdownHook
When the pool is created, if this is true (default is false), a hook will be registered to close the pool. |
|
softMinEvictableIdleTimeMillis
|
|
testOnBorrow
Ping - Important, because sessions may timeout while idle in the pool. |
|
testOnReturn
Ping. |
|
testWhileIdle
|
|
timeBetweenEvictionRunsMillis
|
Method Summary | |
---|---|
static AGPoolProp |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AGPoolProp[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AGPoolProp initialSize
AGPoolConfig.initialSize
public static final AGPoolProp shutdownHook
When the pool is closed, from outside of the hook, the
hook will be removed
so it is not leaked in the list of hooks.
AGPoolConfig.shutdownHook
,
Runtime.addShutdownHook(Thread)
public static final AGPoolProp minIdle
GenericObjectPool.setMinIdle(int)
public static final AGPoolProp maxIdle
GenericObjectPool.setMaxIdle(int)
public static final AGPoolProp maxActive
GenericObjectPool.setMaxActive(int)
public static final AGPoolProp maxWait
GenericObjectPool.setMaxWait(long)
public static final AGPoolProp testOnBorrow
AGRepositoryConnection.ping()
,
GenericObjectPool.setTestOnBorrow(boolean)
public static final AGPoolProp testOnReturn
AGRepositoryConnection.ping()
,
GenericObjectPool.setTestOnReturn(boolean)
public static final AGPoolProp timeBetweenEvictionRunsMillis
GenericObjectPool.setTimeBetweenEvictionRunsMillis(long)
public static final AGPoolProp minEvictableIdleTimeMillis
GenericObjectPool.setMinEvictableIdleTimeMillis(long)
public static final AGPoolProp testWhileIdle
GenericObjectPool.setTestWhileIdle(boolean)
public static final AGPoolProp softMinEvictableIdleTimeMillis
GenericObjectPool.setSoftMinEvictableIdleTimeMillis(long)
public static final AGPoolProp numTestsPerEvictionRun
GenericObjectPool.setNumTestsPerEvictionRun(int)
Method Detail |
---|
public static AGPoolProp[] values()
for (AGPoolProp c : AGPoolProp.values()) System.out.println(c);
public static AGPoolProp valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
Copyright © 2008-2011 Franz Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |