Class Overview
This class is simply a connector class into the EHCache for OffHeap.
Until the issue (https://jira.terracotta.org/jira/browse/EHC-940) is fixed we need to use same package and class name
as in ehcache
Summary
Public Methods |
static
Store
|
create(Ehcache cache, String diskStorePath, Pool<PoolableStore> onHeapPool, Pool<PoolableStore> onDiskPool)
|
static
Store
|
create(Ehcache cache, String diskStorePath)
Creates a persitent-to-disk store for the given cache, using the given
disk path.
|
static
DirectMemoryStore
|
createOffHeapStore(Ehcache cache)
do not use directly as can change
|
static
Pool<PoolableStore>
|
getOffHeapPool(CacheManager manager)
do not use directly as can change
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
public
static
Store
create
(Ehcache cache, String diskStorePath, Pool<PoolableStore> onHeapPool, Pool<PoolableStore> onDiskPool)
public
static
Store
create
(Ehcache cache, String diskStorePath)
Creates a persitent-to-disk store for the given cache, using the given
disk path. Heap and disk usage are not tracked by the returned store.
Parameters
cache
| cache that fronts this store |
diskStorePath
| disk path to store data in |
Returns
- a fully initialized store
public
static
DirectMemoryStore
createOffHeapStore
(Ehcache cache)
do not use directly as can change
public
static
Pool<PoolableStore>
getOffHeapPool
(CacheManager manager)
do not use directly as can change