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
|
SizeOfEngine |
SizeOfEngineLoader.createSizeOfEngine(int maxObjectCount,
boolean abort,
boolean silent)
Creates a new instance of a SizeOfEngine
|
SizeOfEngine |
SizeOfEngineFactory.createSizeOfEngine(int maxObjectCount,
boolean abort,
boolean silent)
Creates a new instance of a SizeOfEngine
|
static SizeOfEngine |
SizeOfEngineLoader.newSizeOfEngine(int maxObjectCount,
boolean abort,
boolean silent)
Creates a new instance of a SizeOfEngine
|
Modifier and Type | Method and Description |
---|---|
PoolAccessor |
Pool.createPoolAccessor(PoolParticipant participant,
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 |
StrictlyBoundedPool.createPoolAccessor(PoolParticipant participant,
SizeOfEngine sizeOfEngine)
Return a PoolAccessor whose consumption is tracked by this pool, using a specific SizeOf engine.
|
PoolAccessor |
UnboundedPool.createPoolAccessor(PoolParticipant participant,
SizeOfEngine sizeOfEngine)
Return a PoolAccessor whose consumption is tracked by this pool, using a specific SizeOf engine.
|
PoolAccessor |
BoundedPool.createPoolAccessor(PoolParticipant participant,
SizeOfEngine sizeOfEngine)
Return a PoolAccessor whose consumption is tracked by this pool, using a specific SizeOf engine.
|
Constructor and Description |
---|
AbstractPool(long maximumPoolSize,
PoolEvictor evictor,
SizeOfEngine defaultSizeOfEngine)
Create an AbstractPool instance
|
AbstractPoolAccessor(Pool pool,
PoolParticipant participant,
SizeOfEngine sizeOfEngine)
Creates an accessor for the specified participant to access the specified pool.
|
BoundedPool(long maximumPoolSize,
PoolEvictor evictor,
SizeOfEngine defaultSizeOfEngine)
Create a BoundedPool instance
|
StrictlyBoundedPool(long maximumPoolSize,
PoolEvictor 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–2016 Terracotta, Inc.. All rights reserved.