public synchronized void unload(Transaction tx) throws IOException { if (loaded.compareAndSet(true, false)) { metadata.state = CLOSED_STATE; tx.store(metadata.page, metadataMarshaller, true); } }
public synchronized void store(Transaction tx, HashBin<Key,Value> bin) throws IOException { tx.store(bin.getPage(), hashBinMarshaller, true); }
void storeNode(Transaction tx, BTreeNode<Key,Value> node, boolean overflow) throws IOException { tx.store(node.getPage(), marshaller, overflow); }
synchronized void put(Transaction tx, MessageStoreStatistics storeStatistics) throws IOException { if (page == null) { page = tx.load(pageId, messageStoreStatisticsMarshaller); } page.set(storeStatistics); tx.store(page, messageStoreStatisticsMarshaller, true); } }
public void storeNode(Transaction tx, ListNode<Key,Value> node, boolean overflow) throws IOException { tx.store(node.getPage(), marshaller, overflow); flushCache(); }
synchronized void load(Transaction tx) throws IOException { if (loaded.compareAndSet(false, true)) { page = tx.load(pageId, null); if (page.getType() == Page.PAGE_FREE_TYPE) { page.set(null); tx.store(page, messageStoreStatisticsMarshaller, true); } } page = tx.load(pageId, messageStoreStatisticsMarshaller); }
tx.store(metaData.getPage(), metaDataMarshaller, true); pageFile.flush();
metadata.binPageId = resizePageId; metadata.state = OPEN_STATE; tx.store(metadata.page, metadataMarshaller, true); calcThresholds();
Location[] inProgressTxRange = getInProgressTxLocationRange(); metadata.firstInProgressTransactionLocation = inProgressTxRange[0]; tx.store(metadata.page, metadataMarshaller, true);
tx.store(metadataPage, metadataMarshaller, true);
public synchronized void unload(Transaction tx) throws IOException { if (loaded.compareAndSet(true, false)) { metadata.state = CLOSED_STATE; tx.store(metadata.page, metadataMarshaller, true); } }
public synchronized void unload(Transaction tx) throws IOException { if (loaded.compareAndSet(true, false)) { metadata.state = CLOSED_STATE; tx.store(metadata.page, metadataMarshaller, true); } }
public synchronized void unload(Transaction tx) throws IOException { if (loaded.compareAndSet(true, false)) { metadata.state = CLOSED_STATE; tx.store(metadata.page, metadataMarshaller, true); } }
void storeNode(Transaction tx, BTreeNode<Key,Value> node, boolean overflow) throws IOException { tx.store(node.getPage(), marshaller, overflow); }
void storeNode(Transaction tx, BTreeNode<Key,Value> node, boolean overflow) throws IOException { tx.store(node.getPage(), marshaller, overflow); }
public synchronized void store(Transaction tx, HashBin<Key,Value> bin) throws IOException { tx.store(bin.getPage(), hashBinMarshaller, true); }
public synchronized void store(Transaction tx, HashBin<Key,Value> bin) throws IOException { tx.store(bin.getPage(), hashBinMarshaller, true); }
public void storeNode(Transaction tx, ListNode<Key,Value> node, boolean overflow) throws IOException { tx.store(node.getPage(), marshaller, overflow); flushCache(); }
public void storeNode(Transaction tx, ListNode<Key,Value> node, boolean overflow) throws IOException { tx.store(node.getPage(), marshaller, overflow); flushCache(); }
public void storeNode(Transaction tx, ListNode<Key,Value> node, boolean overflow) throws IOException { tx.store(node.getPage(), marshaller, overflow); flushCache(); }