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-OP. Returns true immediately.
()
| 238 | * NO-OP. Returns true immediately. |
| 239 | */ |
| 240 | public boolean tryFlush() { |
| 241 | Inserter inserter = getInserter(); |
| 242 | return inserter.tryFlush(); |
| 243 | } |
| 244 | |
| 245 | private interface Inserter { |
| 246 | // blocking call that can be interrupted using Thread.interrupt() |
nothing calls this directly
no test coverage detected