|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WriteBehind<K,V>
| Method Summary | |
|---|---|
void |
delete(K key)
Deletes a single entry from the underlying system of record. |
long |
getQueueSize()
Gets the best estimate for items in the queue still awaiting processing. |
V |
load(K key)
Loads the value to be associated with the given key in the Cache using this
CacheLoaderWriter instance. |
void |
setOperationsFilter(OperationsFilter<SingleOperation<K,V>> filter)
Set the operations filter that should be used. |
void |
start()
Start the write behind queue |
void |
stop()
Stop the coordinator and all the internal data structures. |
void |
write(K key,
V value)
Writes a single entry to the underlying system of record, maybe a brand new value or an update to an existing value |
| Method Detail |
|---|
void start()
V load(K key)
throws java.lang.Exception
Cache using this
CacheLoaderWriter instance.
key - the key that will map to the value returned
java.lang.Exception
void write(K key,
V value)
throws CacheWritingException
CacheWritingException
void delete(K key)
throws CacheWritingException
CacheWritingExceptionvoid stop()
void setOperationsFilter(OperationsFilter<SingleOperation<K,V>> filter)
filter - the filter that will be used as of nowlong getQueueSize()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||