|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WriteBehind
An interface for write behind behavior.
Method Summary | |
---|---|
void |
delete(CacheEntry entry)
Add a delete operation for the given cache entry |
long |
getQueueSize()
Gets the best estimate for items in the queue still awaiting processing. |
void |
setOperationsFilter(OperationsFilter filter)
Set the operations filter that should be used. |
void |
start(CacheWriter writer)
Start the write behind queue with a cache writer |
void |
stop()
Stop the coordinator and all the internal data structures. |
void |
write(Element element)
Add a write operation for a given element. |
Method Detail |
---|
void start(CacheWriter writer) throws CacheException
writer
- the cache writer that should be used to process the operations
CacheException
stop()
void write(Element element)
element
- the element for which a write operation will be added to the write behind queuevoid delete(CacheEntry entry)
entry
- the cache entry for which a delete operation will be added to the write behind queuevoid setOperationsFilter(OperationsFilter filter)
filter
- the filter that will be used as of nowvoid stop() throws CacheException
CacheException
start(net.sf.ehcache.writer.CacheWriter)
long getQueueSize()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |