public class CompletedOpsQueue extends SearchableOpsQueue
SearchableOpsQueue
specialised for
handling completed operations.Constructor and Description |
---|
CompletedOpsQueue() |
Modifier and Type | Method and Description |
---|---|
CompletedOpsQueue |
getFailedOps()
Gets all failed operations
|
CompletedOpsQueue |
getMatchingOps(java.lang.Class<? extends AbstractTucsonAction> optype)
Gets all the operations whose type matches the given type
|
CompletedOpsQueue |
getSuccessfulOps()
Gets all successfully completed operations
|
void |
removeFailedOps()
Removes all failed operations
|
void |
removeSuccessfulOps()
Removes all successfully completed operations
|
removeMatchingOps, removeOp, removeOpById
clear, contains, drainTo, drainTo, iterator, offer, offer, peek, poll, poll, put, remainingCapacity, remove, size, spliterator, take, toArray, toArray, toString
containsAll, isEmpty, removeAll, retainAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public CompletedOpsQueue getSuccessfulOps()
public CompletedOpsQueue getMatchingOps(java.lang.Class<? extends AbstractTucsonAction> optype)
SearchableOpsQueue
getMatchingOps
in class SearchableOpsQueue
optype
- the operation type to look forpublic CompletedOpsQueue getFailedOps()
public void removeSuccessfulOps()
public void removeFailedOps()