/// <exception cref="System.IO.IOException"/> public override void Close() { if (buf != null) { buf.Close(); buf = null; } }
/// <exception cref="System.IO.IOException"/> public QuorumOutputStream(AsyncLoggerSet loggers, long txId, int outputBufferCapacity , int writeTimeoutMs) : base() { this.buf = new EditsDoubleBuffer(outputBufferCapacity); this.loggers = loggers; this.segmentTxId = txId; this.writeTimeoutMs = writeTimeoutMs; }
/// <exception cref="System.IO.IOException"/> public override void Abort() { QuorumJournalManager.Log.Warn("Aborting " + this); buf = null; Close(); }