public void reset() { if (isAlwaysDump && !hasDumped) { dumpLog(LOG); } offset = 0; hasDumped = false; }
private void handleReaderError(long startTime, Throwable t) throws InterruptedException { recordReaderTime(startTime); consumer.setError(t); trace.dumpLog(LOG); cleanupReaders(); tracePool.offer(trace); }
private void handleReaderError(long startTime, Throwable t) throws InterruptedException { recordReaderTime(startTime); consumer.setError(t); trace.dumpLog(LOG); cleanupReaders(); tracePool.offer(trace); }