| Modifier and Type | Field and Description |
|---|---|
| private List |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addItem(SingleOperation
operation to be done operation)Implements abstract net. |
| public long | getQueueSize()
Implements abstract net. Implements net. |
| protected List | quarantineItems()
Implements abstract net. |
| protected void | reinsertUnprocessedItems(List<SingleOperation>
list of unfinished operations operations)Implements abstract net. |
| waiting | back to summary |
|---|---|
| private List<SingleOperation> waiting | |
| WriteBehindQueue | back to summary |
|---|---|
| pack-priv WriteBehindQueue(CacheConfiguration config) Construct a simple list backed write behind queue. | |
| addItem | back to summary |
|---|---|
| protected void addItem(SingleOperation operation) Implements abstract net. Doc from net. Add an item to the write behind queue
| |
| getQueueSize | back to summary |
|---|---|
| public long getQueueSize() Implements abstract net. Implements net. Doc from net. Gets the best estimate for items in the queue still awaiting processing. Not including elements currently processed
| |
| quarantineItems | back to summary |
|---|---|
| protected List Implements abstract net. Doc from net. Quarantine items to be processed.
| |
| reinsertUnprocessedItems | back to summary |
|---|---|
| protected void reinsertUnprocessedItems(List<SingleOperation> operations) Implements abstract net. Doc from net. Reinsert any unfinished operations into the queue.
| |