Package | Description |
---|---|
net.sf.ehcache |
This package contains the public API for using ehcache.
|
net.sf.ehcache.constructs |
The constructs package builds on top of the core ehcache classes to create
implementations for common caching patterns.
|
net.sf.ehcache.constructs.classloader |
ClassLoader contstructs package
|
net.sf.ehcache.writer |
This package contains the cache writer functionalities.
|
net.sf.ehcache.writer.writebehind |
This package contains the write behind functionalities.
|
net.sf.ehcache.writer.writebehind.operations |
This package contains the operations for the write behind functionalities.
|
Modifier and Type | Method and Description |
---|---|
CacheWriter |
Ehcache.getRegisteredCacheWriter()
Retrieves the
CacheWriter that was registered for this cache. |
CacheWriter |
Cache.getRegisteredCacheWriter()
Retrieves the
CacheWriter that was registered for this cache. |
Modifier and Type | Method and Description |
---|---|
void |
Ehcache.registerCacheWriter(CacheWriter cacheWriter)
Register the
CacheWriter for this cache. |
void |
Cache.registerCacheWriter(CacheWriter cacheWriter)
Register the
CacheWriter for this cache. |
Modifier and Type | Method and Description |
---|---|
CacheWriter |
EhcacheDecoratorAdapter.getRegisteredCacheWriter()
Retrieves the
CacheWriter that was registered for this cache. |
Modifier and Type | Method and Description |
---|---|
void |
EhcacheDecoratorAdapter.registerCacheWriter(CacheWriter cacheWriter)
Register the
CacheWriter for this cache. |
Modifier and Type | Method and Description |
---|---|
CacheWriter |
ClassLoaderAwareCache.getRegisteredCacheWriter()
Retrieves the
CacheWriter that was registered for this cache. |
Modifier and Type | Method and Description |
---|---|
void |
ClassLoaderAwareCache.registerCacheWriter(CacheWriter arg0)
Register the
CacheWriter for this cache. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCacheWriter
A convenience abstract base class that implements all
CacheWriter methods. |
Modifier and Type | Method and Description |
---|---|
CacheWriter |
CacheWriter.clone(Ehcache cache)
Creates a clone of this writer.
|
CacheWriter |
AbstractCacheWriter.clone(Ehcache cache)
Creates a clone of this writer.
|
abstract CacheWriter |
CacheWriterFactory.createCacheWriter(Ehcache cache,
Properties properties)
Creates a CacheWriter using the Ehcache configuration mechanism at the time the associated cache is created.
|
Modifier and Type | Method and Description |
---|---|
void |
WriteBehind.start(CacheWriter writer)
Start the write behind queue with a cache writer
|
void |
WriteBehindQueueManager.start(CacheWriter writer)
Start the write behind queue with a cache writer
|
void |
AbstractWriteBehindQueue.start(CacheWriter writer)
Start the write behind queue with a cache writer
|
Modifier and Type | Method and Description |
---|---|
void |
DeleteAllOperation.performBatchOperation(CacheWriter cacheWriter)
Perform the batch operation for a particular batch writer
|
void |
BatchOperation.performBatchOperation(CacheWriter cacheWriter)
Perform the batch operation for a particular batch writer
|
void |
WriteAllOperation.performBatchOperation(CacheWriter cacheWriter)
Perform the batch operation for a particular batch writer
|
void |
WriteOperation.performSingleOperation(CacheWriter cacheWriter)
Perform this operation as a single execution with the provided cache writer
|
void |
SingleOperation.performSingleOperation(CacheWriter cacheWriter)
Perform this operation as a single execution with the provided cache writer
|
void |
DeleteOperation.performSingleOperation(CacheWriter cacheWriter)
Perform this operation as a single execution with the provided cache writer
|
void |
WriteOperation.throwAway(CacheWriter cacheWriter,
RuntimeException e)
Called when all retries have failed
|
void |
SingleOperation.throwAway(CacheWriter cacheWriter,
RuntimeException e)
Called when all retries have failed
|
void |
DeleteOperation.throwAway(CacheWriter cacheWriter,
RuntimeException e)
Called when all retries have failed
|
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.