- <init>
- consume
Non blocking. Returns immediately if Q is empty. Runs till Q is empty OR
exitCond.keepRunning() retu
- publish
Blocking call. Retries till it can successfully publish the obj. Can be
interrupted via Thread.inter
- close
- flush
if(batchSz>1) : Blocking call. Does not return until at least 1 element is
drained or Thread.interru
- getOverflowCount
- isEmptyOverflow
- tryPublish
Non-blocking call, returns false if full.
- tryPublishToOverflow
Un-batched write to overflowQ. Should only be called by WorkerTransfer returns
false if overflowLimi
- consumeImpl
Non blocking. Returns immediately if Q is empty. Returns number of elements
consumed from Q
- getMetrics
- getName