|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.writer.writebehind.NonStopWriteBehind
public class NonStopWriteBehind
Non stop class for write behind
| Constructor Summary | |
|---|---|
NonStopWriteBehind()
|
|
| 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 |
init(WriteBehind writeBehind)
|
void |
setOperationsFilter(OperationsFilter filter)
Set the operations filter that should be used. |
void |
start(CacheWriter writerParam)
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NonStopWriteBehind()
| Method Detail |
|---|
public void init(WriteBehind writeBehind)
writeBehind -
public void start(CacheWriter writerParam)
throws CacheException
WriteBehind
start in interface WriteBehindwriterParam - the cache writer that should be used to process the operations
CacheExceptionWriteBehind.stop()public void write(Element element)
WriteBehind
write in interface WriteBehindelement - the element for which a write operation will be added to the write behind queuepublic void delete(CacheEntry entry)
WriteBehind
delete in interface WriteBehindentry - the cache entry for which a delete operation will be added to the write behind queuepublic void setOperationsFilter(OperationsFilter filter)
WriteBehind
setOperationsFilter in interface WriteBehindfilter - the filter that will be used as of now
public void stop()
throws CacheException
WriteBehind
stop in interface WriteBehindCacheExceptionWriteBehind.start(net.sf.ehcache.writer.CacheWriter)public long getQueueSize()
WriteBehind
getQueueSize in interface WriteBehind
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||