@Test public void testGetMetaBucket() throws TTException { List<List<Map.Entry<DumbKey, DumbValue>>> meta = CoreTestHelper .createTestMeta(mHolder); BucketReadTrxTest.testMeta(mHolder.getSession(), meta); IBucketWriteTrx wtx = mHolder.getSession().beginBucketWtx(); CoreTestHelper.checkStructure(meta.get(meta.size() - 1), wtx, false); wtx.commit(); assertTrue(wtx.close()); wtx = mHolder.getSession().beginBucketWtx(); assertEquals(0, wtx.getMetaBucket().size()); }
@Override public MetaBucket getMetaBucket() { checkState(!mDelegate.isClosed(), "Transaction already closed"); return mNewMeta; }
BucketWriteTrx implements IBucketWriteTrx { @Override public MetaBucket getMetaBucket() { checkState(!mDelegate.isClosed(), "Transaction already closed"); return mNewMeta; } }
BucketWriteTrx implements IBucketWriteTrx { @Override public MetaBucket getMetaBucket() { checkState(!mDelegate.isClosed(), "Transaction already closed"); return mNewMeta; } protected  BucketWriteTrx(final ISession pSession, final UberBucket pUberBucket,
        final IBackendWriter pWriter, final long pRepresentRev); }
BucketWriteTrx implements IBucketWriteTrx { @Override public MetaBucket getMetaBucket() { checkState(!mDelegate.isClosed(), "Transaction already closed"); return mNewMeta; } protected  BucketWriteTrx(final ISession pSession, final UberBucket pUberBucket,
        final IBackendWriter pWriter, final long pRepresentRev); long setData(final IData pData); @Override void removeData(final IData pData); IData getData(final long pDataKey); @Override void commit(); @Override void commitBlocked(); void clearLog(); @Override boolean close(); @Override long incrementDataKey(); @Override long getRevision(); @Override boolean isClosed(); @Override MetaBucket getMetaBucket(); @Override String toString(); }
BucketWriteTrx implements IBucketWriteTrx { @Override public MetaBucket getMetaBucket() { checkState(!mDelegate.isClosed(), "Transaction already closed"); return mNewMeta; } protected  BucketWriteTrx(final ISession pSession, final UberBucket pUberBucket,
        final IBackendWriter pWriter, final long pRepresentRev); long setData(final IData pData); @Override void removeData(final IData pData); IData getData(final long pDataKey); @Override void commit(); @Override void commitBlocked(); void clearLog(); @Override boolean close(); @Override long incrementDataKey(); @Override long getRevision(); @Override boolean isClosed(); @Override MetaBucket getMetaBucket(); @Override String toString();  }