()
| 297 | } |
| 298 | |
| 299 | @Override |
| 300 | public void flush() { |
| 301 | checkState(listener != null, "May only be called after start"); |
| 302 | if (passThrough) { |
| 303 | realStream.flush(); |
| 304 | } else { |
| 305 | delayOrExecute(new Runnable() { |
| 306 | @Override |
| 307 | public void run() { |
| 308 | realStream.flush(); |
| 309 | } |
| 310 | }); |
| 311 | } |
| 312 | } |
| 313 | |
| 314 | // When this method returns, passThrough is guaranteed to be true |
| 315 | @Override |
nothing calls this directly
no test coverage detected