if(batchSz>1) : Blocking call. Does not return until at least 1 element is drained or Thread.interrupt() is received if(batchSz==1) : NO-OP. Returns immediately. doesnt throw.
()
| 229 | * : NO-OP. Returns immediately. doesnt throw. |
| 230 | */ |
| 231 | public void flush() throws InterruptedException { |
| 232 | Inserter inserter = getInserter(); |
| 233 | inserter.flush(); |
| 234 | } |
| 235 | |
| 236 | /** |
| 237 | * if(batchSz>1) : Non-Blocking call. Tries to flush as many as it can. Returns true if flushed at least 1. if(batchSz==1) : This is a |
no test coverage detected