|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mpisws.p2p.transport.peerreview.history.SecureHistoryImpl org.mpisws.p2p.testing.transportlayer.peerreview.PRInconsistent1.ForkingSecureHistory
public class PRInconsistent1.ForkingSecureHistory
Field Summary |
---|
Fields inherited from class org.mpisws.p2p.transport.peerreview.history.SecureHistoryImpl |
---|
baseSeq, dataFile, hashProv, indexFactory, indexFile, logger, nextSeq, numEntries, pointerAtEnd, readOnly, topEntry |
Fields inherited from interface org.mpisws.p2p.transport.peerreview.StatusConstants |
---|
STATUS_EXPOSED, STATUS_SUSPECTED, STATUS_TRUSTED |
Constructor Summary | |
---|---|
PRInconsistent1.ForkingSecureHistory(RandomAccessFileIOBuffer indexFile,
RandomAccessFileIOBuffer dataFile,
boolean readOnly,
HashProvider hashProv,
IndexEntryFactory indexFactory,
Logger logger)
|
Method Summary | |
---|---|
void |
fork(long entryIndex)
Delete this index and everything after it |
Methods inherited from class org.mpisws.p2p.transport.peerreview.history.SecureHistoryImpl |
---|
appendEntry, appendHash, appendSnippetToHistory, close, findLastEntry, findSeq, findSeqOrHigher, getBaseSeq, getEntry, getEntry, getLastSeq, getNumEntries, getTopLevelEntry, serializeRange, serializeRange2, setNextSeq, statEntry, upgradeHashedEntry |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PRInconsistent1.ForkingSecureHistory(RandomAccessFileIOBuffer indexFile, RandomAccessFileIOBuffer dataFile, boolean readOnly, HashProvider hashProv, IndexEntryFactory indexFactory, Logger logger) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void fork(long entryIndex) throws java.io.IOException
entryIndex
-
java.io.IOException
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |