|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
E
- Type of object which is going to be processed by map store.public interface WriteBehindProcessor<E>
Write behind processors main contract. Responsible for processing map store logic like retries, failures, listeners, batch size etc.
Method Summary | |
---|---|
void |
addStoreListener(StoreListener storeListener)
|
void |
callAfterStoreListeners(Collection<E> entries)
|
void |
callBeforeStoreListeners(Collection<E> entries)
|
void |
flush(E key)
Flush a key directly to map store. |
Collection |
flush(WriteBehindQueue queue)
|
Map<Integer,List<E>> |
process(List<E> delayedEntries)
Process store operations and returns failed operation per partition map. |
Method Detail |
---|
Map<Integer,List<E>> process(List<E> delayedEntries)
delayedEntries
- to be written to store.
void callAfterStoreListeners(Collection<E> entries)
void callBeforeStoreListeners(Collection<E> entries)
void addStoreListener(StoreListener storeListener)
Collection flush(WriteBehindQueue queue)
void flush(E key)
key
- to be flushed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |