private HashBin<Key,Value> getBin(Transaction tx, int i, long basePage) throws IOException { Page<HashBin<Key, Value>> page = tx.load(basePage + i, hashBinMarshaller); HashBin<Key, Value> rc = page.get(); rc.setPage(page); return rc; }
/** * @param tx * @param pageId * @throws IOException */ private void clearBinAtPage(Transaction tx, long pageId) throws IOException { Page<HashBin<Key,Value>> page = tx.load(pageId, null); HashBin<Key, Value> bin = new HashBin<Key,Value>(); bin.setPage(page); page.set(bin); store(tx, bin); }
private HashBin<Key,Value> getBin(Transaction tx, int i, long basePage) throws IOException { Page<HashBin<Key, Value>> page = tx.load(basePage + i, hashBinMarshaller); HashBin<Key, Value> rc = page.get(); rc.setPage(page); return rc; }
private HashBin<Key,Value> getBin(Transaction tx, int i, long basePage) throws IOException { Page<HashBin<Key, Value>> page = tx.load(basePage + i, hashBinMarshaller); HashBin<Key, Value> rc = page.get(); rc.setPage(page); return rc; }
private HashBin<Key,Value> getBin(Transaction tx, int i, long basePage) throws IOException { Page<HashBin<Key, Value>> page = tx.load(basePage + i, hashBinMarshaller); HashBin<Key, Value> rc = page.get(); rc.setPage(page); return rc; }
/** * @param tx * @param pageId * @throws IOException */ private void clearBinAtPage(Transaction tx, long pageId) throws IOException { Page<HashBin<Key,Value>> page = tx.load(pageId, null); HashBin<Key, Value> bin = new HashBin<Key,Value>(); bin.setPage(page); page.set(bin); store(tx, bin); }
/** * @param tx * @param pageId * @throws IOException */ private void clearBinAtPage(Transaction tx, long pageId) throws IOException { Page<HashBin<Key,Value>> page = tx.load(pageId, null); HashBin<Key, Value> bin = new HashBin<Key,Value>(); bin.setPage(page); page.set(bin); store(tx, bin); }
/** * @param tx * @param pageId * @throws IOException */ private void clearBinAtPage(Transaction tx, long pageId) throws IOException { Page<HashBin<Key,Value>> page = tx.load(pageId, null); HashBin<Key, Value> bin = new HashBin<Key,Value>(); bin.setPage(page); page.set(bin); store(tx, bin); }