com.bigdata.journal
Interface IHABufferStrategy
- All Superinterfaces:
- IAddressManager, IBufferStrategy, ICounterSetAccess, IMRMW, IMROW, IRawStore
- All Known Implementing Classes:
- RWStrategy, WORMStrategy
public interface IHABufferStrategy
- extends IBufferStrategy
A highly available IBufferStrategy.
- Version:
- $Id: IHABufferStrategy.java 4644 2011-06-08 20:00:21Z thompsonbry $
- Author:
- Bryan Thompson
| Methods inherited from interface com.bigdata.journal.IBufferStrategy |
abort, closeForWrites, commit, getAddressManager, getBufferMode, getCounters, getExtent, getHeaderSize, getInitialExtent, getMaximumExtent, getMaxRecordSize, getMetaBitsAddr, getMetaStartAddr, getNextOffset, getOffsetBits, getUserExtent, readRootBlock, requiresCommit, transferTo, truncate, useChecksums, writeRootBlock |
| Methods inherited from interface com.bigdata.rawstore.IRawStore |
close, delete, deleteResources, destroy, force, getFile, getResourceMetadata, getUUID, isFullyBuffered, isOpen, isReadOnly, isStable, read, size, write |
writeRawBuffer
void writeRawBuffer(HAWriteMessage msg,
IBufferAccess b)
throws IOException,
InterruptedException
- Write a buffer containing data replicated from the master onto the local
persistence store.
- Throws:
InterruptedException
IOException
readFromLocalStore
ByteBuffer readFromLocalStore(long addr)
throws InterruptedException
- Read from the local store in support of failover reads on nodes in a
highly available
Quorum.
- Throws:
InterruptedException
setExtentForLocalStore
void setExtentForLocalStore(long extent)
throws IOException,
InterruptedException
- Extend local store for a highly available
Quorum.
- Throws:
InterruptedException
IOException
Copyright © 2006-2012 SYSTAP, LLC. All Rights Reserved.