|
ehcache | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PoolableStore | |
---|---|
net.sf.ehcache | This package contains the public API for using ehcache. |
net.sf.ehcache.pool.impl | This package contains implementations of the resource pooling interfaces. |
net.sf.ehcache.store | Store package. |
net.sf.ehcache.store.disk | This package contains the disk store. |
Uses of PoolableStore in net.sf.ehcache |
---|
Method parameters in net.sf.ehcache with type arguments of type PoolableStore | |
---|---|
Store |
FeaturesManager.createStore(Cache cache,
Pool<PoolableStore> onHeapPool,
Pool<PoolableStore> onDiskPool)
Create a store for the given cache. |
Store |
FeaturesManager.createStore(Cache cache,
Pool<PoolableStore> onHeapPool,
Pool<PoolableStore> onDiskPool)
Create a store for the given cache. |
Uses of PoolableStore in net.sf.ehcache.pool.impl |
---|
Methods in net.sf.ehcache.pool.impl that return types with arguments of type PoolableStore | |
---|---|
PoolAccessor<PoolableStore> |
UnboundedPool.createPoolAccessor(PoolableStore store,
int maxDepth,
boolean abortWhenMaxDepthExceeded)
Return a PoolAccessor whose consumption is tracked by this pool, using a default SizeOf engine. |
PoolEvictor<PoolableStore> |
UnboundedPool.getEvictor()
Return the pool evictor used by this pool. |
Collection<PoolableStore> |
UnboundedPool.getPoolableStores()
Return the stores accessing this pool. |
Methods in net.sf.ehcache.pool.impl with parameters of type PoolableStore | |
---|---|
protected long |
BalancedAccessOnHeapPoolEvictor.byteSize(PoolableStore store)
Return the size in bytes of the supplied store. |
protected long |
BalancedAccessOnDiskPoolEvictor.byteSize(PoolableStore store)
Return the size in bytes of the supplied store. |
protected long |
BalancedAccessOnHeapPoolEvictor.countSize(PoolableStore store)
Return the number of mappings in the supplied store. |
protected long |
BalancedAccessOnDiskPoolEvictor.countSize(PoolableStore store)
Return the number of mappings in the supplied store. |
PoolAccessor<PoolableStore> |
UnboundedPool.createPoolAccessor(PoolableStore store,
int maxDepth,
boolean abortWhenMaxDepthExceeded)
Return a PoolAccessor whose consumption is tracked by this pool, using a default SizeOf engine. |
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. |
protected boolean |
FromLargestCacheOnHeapPoolEvictor.evict(int count,
long bytes,
PoolableStore largestPoolableStore)
Evict from a store for a chosen resource |
protected boolean |
FromLargestCacheOnDiskPoolEvictor.evict(int count,
long bytes,
PoolableStore largestPoolableStore)
Evict from a store for a chosen resource |
protected abstract boolean |
AbstractFromLargestCachePoolEvictor.evict(int count,
long bytes,
PoolableStore poolableStore)
Evict from a store for a chosen resource |
protected boolean |
BalancedAccessOnHeapPoolEvictor.evict(PoolableStore store,
int count,
long size)
Evict the specified number of bytes or the hinted number of elements from the specified store |
protected boolean |
BalancedAccessOnDiskPoolEvictor.evict(PoolableStore store,
int count,
long size)
Evict the specified number of bytes or the hinted number of elements from the specified store |
protected long |
FromLargestCacheOnHeapPoolEvictor.getSizeInBytes(PoolableStore largestPoolableStore)
Get a store size in bytes for a chosen resource |
protected long |
FromLargestCacheOnDiskPoolEvictor.getSizeInBytes(PoolableStore largestPoolableStore)
Get a store size in bytes for a chosen resource |
protected abstract long |
AbstractFromLargestCachePoolEvictor.getSizeInBytes(PoolableStore poolableStore)
Get a store size in bytes for a chosen resource |
protected float |
BalancedAccessOnHeapPoolEvictor.hitRate(PoolableStore store)
Return the hit rate for the supplied store. |
protected float |
BalancedAccessOnDiskPoolEvictor.hitRate(PoolableStore store)
Return the hit rate for the supplied store. |
protected float |
BalancedAccessOnHeapPoolEvictor.missRate(PoolableStore store)
Return the miss rate for the supplied store. |
protected float |
BalancedAccessOnDiskPoolEvictor.missRate(PoolableStore store)
Return the miss rate for the supplied store. |
Method parameters in net.sf.ehcache.pool.impl with type arguments of type PoolableStore | |
---|---|
boolean |
AbstractFromLargestCachePoolEvictor.freeSpace(Collection<PoolableStore> from,
long bytes)
Free at least N bytes from a collection of resources |
void |
UnboundedPool.registerPoolAccessor(PoolAccessor<? extends PoolableStore> accessor)
Register an accessor implementation with this pool. |
Constructor parameters in net.sf.ehcache.pool.impl with type arguments of type PoolableStore | |
---|---|
BoundedPool(long maximumPoolSize,
PoolEvictor<PoolableStore> evictor,
SizeOfEngine defaultSizeOfEngine)
Create a BoundedPool instance |
|
StrictlyBoundedPool(long maximumPoolSize,
PoolEvictor<PoolableStore> evictor,
SizeOfEngine defaultSizeOfEngine)
Create a StrictlyBoundedPool instance |
Uses of PoolableStore in net.sf.ehcache.store |
---|
Classes in net.sf.ehcache.store that implement PoolableStore | |
---|---|
class |
MemoryStore
A Store implementation suitable for fast, concurrent in memory stores. |
class |
NotifyingMemoryStore
|
Uses of PoolableStore in net.sf.ehcache.store.disk |
---|
Classes in net.sf.ehcache.store.disk that implement PoolableStore | |
---|---|
class |
DiskStore
Implements a persistent-to-disk store. |
|
ehcache | |||||||||
PREV NEXT | FRAMES NO FRAMES |