public void stop() { if (!isRunning()) { return; } super.stop(); // XXX happens at finish; move to teardown? this.pool.close(); }
public void doCheckpoint(Checkpoint checkpointInProgress) throws IOException { if (getStartNewFilesOnCheckpoint()) { this.pool.close(); super.doCheckpoint(checkpointInProgress); setupPool(this.serial); } else { pool.flush(); super.doCheckpoint(checkpointInProgress); } }
public void stop() { if (!isRunning()) { return; } super.stop(); // XXX happens at finish; move to teardown? this.pool.close(); }
public void doCheckpoint(Checkpoint checkpointInProgress) throws IOException { if (getStartNewFilesOnCheckpoint()) { this.pool.close(); super.doCheckpoint(checkpointInProgress); setupPool(this.serial); } else { pool.flush(); super.doCheckpoint(checkpointInProgress); } }