public class StatelessContainerFactory
extends java.lang.Object
Constructor and Description |
---|
StatelessContainerFactory() |
Modifier and Type | Method and Description |
---|---|
StatelessContainer |
create() |
void |
setAccessTimeout(Duration accessTimeout) |
void |
setCallbackThreads(int callbackThreads) |
void |
setCloseTimeout(Duration closeTimeout) |
void |
setEvictionThreads(int evictionThreads) |
void |
setGarbageCollection(boolean garbageCollection) |
void |
setId(java.lang.Object id) |
void |
setIdleTimeout(Duration idleTimeout) |
void |
setMaxAge(Duration maxAge) |
void |
setMaxAgeOffset(double maxAgeOffset) |
void |
setMaxSize(int max) |
void |
setMinSize(int min) |
void |
setPoolSize(int max)
Deprecated.
use MaxSize
|
void |
setReplaceAged(boolean replaceAged) |
void |
setReplaceFlushed(boolean replaceFlushed) |
void |
setSecurityService(SecurityService securityService) |
void |
setStrictPooling(boolean strict) |
void |
setSweepInterval(Duration interval) |
void |
setTimeOut(Duration accessTimeout)
Deprecated.
use AccessTimeout
|
void |
setUseOneSchedulerThreadByBean(boolean useOneSchedulerThreadByBean) |
public void setEvictionThreads(int evictionThreads)
public void setUseOneSchedulerThreadByBean(boolean useOneSchedulerThreadByBean)
public void setCallbackThreads(int callbackThreads)
public void setId(java.lang.Object id)
public void setSecurityService(SecurityService securityService)
@Deprecated public void setTimeOut(Duration accessTimeout)
accessTimeout
- Durationpublic void setAccessTimeout(Duration accessTimeout)
accessTimeout
- Durationpublic void setMaxSize(int max)
@Deprecated public void setPoolSize(int max)
max
- intpublic void setMinSize(int min)
public void setStrictPooling(boolean strict)
public void setMaxAge(Duration maxAge)
public void setIdleTimeout(Duration idleTimeout)
public void setSweepInterval(Duration interval)
public void setReplaceAged(boolean replaceAged)
public void setReplaceFlushed(boolean replaceFlushed)
public void setGarbageCollection(boolean garbageCollection)
public void setMaxAgeOffset(double maxAgeOffset)
public void setCloseTimeout(Duration closeTimeout)
public StatelessContainer create()