|
Nux 1.6 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PoolConfig | |
---|---|
nux.xom.pool | Efficient and flexible pools and factories for Documents, XQueries, and XSL Transforms, as well as Builders that validate against W3C XML Schemas, DTDs, RELAX NG, Schematron, etc. |
Uses of PoolConfig in nux.xom.pool |
---|
Methods in nux.xom.pool that return PoolConfig | |
---|---|
PoolConfig |
PoolConfig.copy()
Returns a deep copy of this configuration. |
PoolConfig |
PoolConfig.setCapacity(long capacity)
Sets the maximum amount of memory [bytes] the sum of all contained pool values may occupy. |
PoolConfig |
PoolConfig.setCompressionLevel(int compressionLevel)
Sets the pool compression level (defaults to 0). |
PoolConfig |
PoolConfig.setFileMonitoring(boolean fileMonitoring)
Sets whether or not a pool should periodically monitor and automatically remove an entry if it's key is a File and that file has
been modified or deleted since the entry has been inserted into the pool. |
PoolConfig |
PoolConfig.setMaxEntries(int maxEntries)
Sets the maximum number of entries this pool can hold before starting to evict old entries. |
PoolConfig |
PoolConfig.setMaxIdleTime(long maxIdleTime)
Sets the (approximate) maximum time [ms] a pool entry is retained since its last access on get(). |
PoolConfig |
PoolConfig.setMaxLifeTime(long maxLifeTime)
Sets the (approximate) maximum time [ms] a pool entry is retained since its creation/insertion on put(). |
Constructors in nux.xom.pool with parameters of type PoolConfig | |
---|---|
BuilderPool(PoolConfig config,
BuilderFactory factory)
Creates a new pool with the given configuration that uses the given factory on cache misses. |
|
DocumentMap(PoolConfig config)
Creates a new pool that uses the given configuration. |
|
PoolConfig(PoolConfig src)
Constructs a deep copy of the given source configuration. |
|
XQueryPool(PoolConfig config,
XQueryFactory factory)
Creates a new pool with the given configuration that uses the given factory on cache misses. |
|
XSLTransformPool(PoolConfig config,
XSLTransformFactory factory)
Creates a new pool with the given configuration that uses the given factory on cache misses. |
|
Nux 1.6 | |||||||||
PREV NEXT | FRAMES NO FRAMES |