create
SessionPool create(java.lang.String name,
Session session,
int iniSize,
int incSize,
int minSize,
int maxSize,
long maxIdleMinutes,
long maxUsageMinutes)
Creates a session pool.
- Parameters:
name - the name of the pool
session - the lead session to get the configuration from (session info, implementation specific stuff)
iniSize - the initial poolsize
incSize - the number of sessions to enlarge the pool if all in use
minSize - the minimum number of sessions to keep in pool
maxSize - the maximum number of sessions, 0 = unlimited
maxIdleMinutes - the idle timeout in minutes to close unused sessions, 0 = unlimited
maxUsageMinutes - the max. used time in minutes, 0 = unlimited