Package | Description |
---|---|
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 |
---|---|
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 |
---|---|
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 |
BoundedPool.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 |
UnboundedPool.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.
|
BoundedPool(long maximumPoolSize,
PoolEvictor<PoolableStore> evictor,
SizeOfEngine defaultSizeOfEngine)
Create a BoundedPool instance
|
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
|
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.