Package | Description |
---|---|
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.cachingtier |
Contains the caching tier implementations
|
net.sf.ehcache.store.disk |
This package contains the disk store.
|
Modifier and Type | Method and Description |
---|---|
Pool |
CacheManager.getOnDiskPool()
Return this cache manager's shared on-disk pool
|
Pool |
CacheManager.getOnHeapPool()
Return this cache manager's shared on-heap pool
|
Modifier and Type | Method and Description |
---|---|
Store |
FeaturesManager.createStore(Cache cache,
Pool onHeapPool,
Pool onDiskPool)
Create a store for the given cache.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPool
An abstract pool implementation.
|
class |
BoundedPool
A pool which loosely obeys to its bound: it can allow the accessors to consume more bytes than what
has been configured if that helps concurrency.
|
class |
StrictlyBoundedPool
A pool which strictly obeys to its bound: it will never allow the accessors to consume more bytes than what
has been configured.
|
class |
UnboundedPool
A no-op pool which does not enforce any resource consumption limit.
|
Modifier and Type | Method and Description |
---|---|
protected Pool |
AbstractPoolAccessor.getPool()
Return the pool this accessor is associated with.
|
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 | Method and Description |
---|---|
static Store |
MemoryStore.create(Ehcache cache,
Pool pool)
A factory method to create a MemoryStore.
|
Constructor and Description |
---|
MemoryStore(Ehcache cache,
Pool pool,
MemoryStore.BackingFactory factory,
SearchManager searchManager)
Constructs things that all MemoryStores have in common.
|
Modifier and Type | Method and Description |
---|---|
static OnHeapCachingTier<Object,Element> |
OnHeapCachingTier.createOnHeapCache(Ehcache cache,
Pool onHeapPool)
Factory method
|
Modifier and Type | Method and Description |
---|---|
static DiskStore |
DiskStore.create(Ehcache cache,
Pool onHeapPool,
Pool onDiskPool)
Creates a persitent-to-disk store for the given cache, using the given disk path.
|
static Store |
DiskStore.createCacheStore(Ehcache cache,
Pool onHeapPool,
Pool onDiskPool)
Create a DiskBackedMemoryStore instance
|
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.