Package | Description |
---|---|
net.sf.ehcache |
This package contains the public API for using ehcache.
|
net.sf.ehcache.pool |
This package contains the interfaces concerning the resource pooling facilities.
|
net.sf.ehcache.pool.impl |
This package contains implementations of the resource pooling interfaces.
|
net.sf.ehcache.store.disk |
This package contains the disk store.
|
Modifier and Type | Method and Description |
---|---|
(package private) SizeOfEngine |
CacheManager.createSizeOfEngine(Cache cache)
Creates a SizeOfEngine for a cache.
|
Modifier and Type | Method and Description |
---|---|
SizeOfEngine |
SizeOfEngine.copyWith(int maxDepth,
boolean abortWhenMaxDepthExceeded)
Make a copy of the SizeOf engine, preserving all of its internal state but overriding the specified parameters
|
Modifier and Type | Method and Description |
---|---|
PoolAccessor<T> |
Pool.createPoolAccessor(T store,
SizeOfEngine sizeOfEngine)
Return a PoolAccessor whose consumption is tracked by this pool, using a specific SizeOf engine.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultSizeOfEngine |
Modifier and Type | Field and Description |
---|---|
private SizeOfEngine |
AbstractPool.defaultSizeOfEngine |
protected SizeOfEngine |
AbstractPoolAccessor.sizeOfEngine
SizeOfEngine used by the accessor. |
Modifier and Type | Method and Description |
---|---|
SizeOfEngine |
DefaultSizeOfEngine.copyWith(int maxDepth,
boolean abortWhenMaxDepthExceeded)
Make a copy of the SizeOf engine, preserving all of its internal state but overriding the specified parameters
|
Modifier and Type | Method and Description |
---|---|
PoolAccessor |
UnboundedPool.createPoolAccessor(PoolableStore store,
SizeOfEngine sizeOfEngine)
Return a PoolAccessor whose consumption is tracked by this pool, using a specific SizeOf engine.
|
PoolAccessor |
StrictlyBoundedPool.createPoolAccessor(PoolableStore store,
SizeOfEngine sizeOfEngine)
Return a PoolAccessor whose consumption is tracked by this pool, using a specific SizeOf engine.
|
PoolAccessor |
BoundedPool.createPoolAccessor(PoolableStore store,
SizeOfEngine sizeOfEngine)
Return a PoolAccessor whose consumption is tracked by this pool, using a specific SizeOf engine.
|
Constructor and Description |
---|
AbstractPool(long maximumPoolSize,
PoolEvictor<T> evictor,
SizeOfEngine defaultSizeOfEngine)
Create an AbstractPool instance
|
AbstractPoolAccessor(Pool<T> pool,
T store,
SizeOfEngine sizeOfEngine)
Creates an accessor for the specified store to access the specified pool.
|
AtomicPoolAccessor(Pool<PoolableStore> pool,
PoolableStore store,
SizeOfEngine sizeOfEngine,
long currentSize)
Creates an atomic pool accessor with the specified properties.
|
BoundedPool(long maximumPoolSize,
PoolEvictor<PoolableStore> evictor,
SizeOfEngine defaultSizeOfEngine)
Create a BoundedPool instance
|
LockedPoolAccessor(Pool pool,
PoolableStore store,
SizeOfEngine sizeOfEngine,
long currentSize)
Creates a locked pool accessor with the specified properties.
|
StrictlyBoundedPool(long maximumPoolSize,
PoolEvictor<PoolableStore> evictor,
SizeOfEngine defaultSizeOfEngine)
Create a StrictlyBoundedPool instance
|
Modifier and Type | Class and Description |
---|---|
class |
DiskSizeOfEngine
SizeOf engine which calculates exact usage of the disk store.
|
Modifier and Type | Method and Description |
---|---|
SizeOfEngine |
DiskSizeOfEngine.copyWith(int maxDepth,
boolean abortWhenMaxDepthExceeded)
Make a copy of the SizeOf engine, preserving all of its internal state but overriding the specified parameters
|