@Override public void readExtraCommitData(byte[] extra) throws IOException { try { mHeaderLatch.acquireShared(); try { readPartial(mCommitNumber & 1, I_EXTRA_DATA, extra, 0, extra.length); } finally { mHeaderLatch.releaseShared(); } } catch (Throwable e) { throw closeOnFailure(e); } }
@Override public void readExtraCommitData(byte[] extra) throws IOException { try { mHeaderLatch.acquireShared(); try { readPartial(mCommitNumber & 1, I_EXTRA_DATA, extra, 0, extra.length); } finally { mHeaderLatch.releaseShared(); } } catch (Throwable e) { throw closeOnFailure(e); } }
@Override public void readExtraCommitData(byte[] extra) throws IOException { try { mHeaderLatch.acquireShared(); try { readPartial(mCommitNumber & 1, I_EXTRA_DATA, extra, 0, extra.length); } finally { mHeaderLatch.releaseShared(); } } catch (Throwable e) { throw closeOnFailure(e); } }