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.cachingtier |
Contains the caching tier implementations
|
Modifier and Type | Interface and Description |
---|---|
interface |
PoolAccessor<T extends PoolParticipant>
PoolAccessors are used by stores to tell the pools about their resource consumption
|
interface |
PoolEvictor<T extends PoolParticipant>
PoolEvictors are responsible for finding the best candidates in a collection of resources using a shared
resource pool and performing eviction on them.
|
Modifier and Type | Method and Description |
---|---|
PoolAccessor |
Pool.createPoolAccessor(PoolParticipant participant,
int maxDepth,
boolean abortWhenMaxDepthExceeded)
Return a PoolAccessor whose consumption is tracked by this pool, using a default SizeOf engine.
|
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 | Field and Description |
---|---|
static PoolAccessor<PoolParticipant> |
UnboundedPool.UNBOUNDED_ACCESSOR
An accessor that just is unbounded
|
Modifier and Type | Method and Description |
---|---|
PoolParticipant |
AbstractPoolAccessor.getParticipant()
Return the store that uses this accessor
|
Modifier and Type | Method and Description |
---|---|
PoolAccessor |
AbstractPool.createPoolAccessor(PoolParticipant participant,
int maxDepth,
boolean abortWhenMaxDepthExceeded)
Return a PoolAccessor whose consumption is tracked by this pool, using a default SizeOf engine.
|
PoolAccessor |
UnboundedPool.createPoolAccessor(PoolParticipant participant,
int maxDepth,
boolean abortWhenMaxDepthExceeded)
Return a PoolAccessor whose consumption is tracked by this pool, using a default SizeOf engine.
|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FromLargestCachePoolEvictor.freeSpace(Collection<PoolAccessor<PoolParticipant>> from,
long bytes)
Free at least N bytes from a collection of resources
|
boolean |
BalancedAccessEvictor.freeSpace(Collection<PoolAccessor<PoolParticipant>> from,
long bytes)
Free at least N bytes from a collection of resources
|
Constructor and Description |
---|
AbstractPoolAccessor(Pool pool,
PoolParticipant participant,
SizeOfEngine sizeOfEngine)
Creates an accessor for the specified participant to access the specified pool.
|
Modifier and Type | Class and Description |
---|---|
static class |
PooledBasedBackEnd.PoolParticipant
A pool participant to use with this Backend
|
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.