dos.writeByte(EVENT_COMMIT);
dos.writeLong(tx.getID());
dos.flush();
}
catch ( DBException e ) {
throw new TransactionException(FaultCodes.GEN_CRITICAL_ERROR, "Error flushing buffers", e);
}
catch ( IOException e ) {
throw new TransactionException(FaultCodes.GEN_CRITICAL_ERROR, "Error writing " + file.getName(), e);
}
finally {
transactions.remove(tx);
}