public class SimpleStoreRecovery extends net.openhft.chronicle.wire.AbstractMarshallable implements StoreRecovery
| Constructor and Description |
|---|
SimpleStoreRecovery() |
| Modifier and Type | Method and Description |
|---|---|
long |
recoverAndWriteHeader(net.openhft.chronicle.wire.Wire wire,
int length,
long timeoutMS,
net.openhft.chronicle.core.values.LongValue lastPosition) |
long |
recoverIndex2Index(net.openhft.chronicle.core.values.LongValue index2Index,
Callable<Long> action,
long timeoutMS) |
long |
recoverSecondaryAddress(net.openhft.chronicle.core.values.LongArrayValues index2indexArr,
int index2,
Callable<Long> action,
long timeoutMS) |
void |
writeEndOfWire(net.openhft.chronicle.wire.Wire wire,
long timeoutMS) |
equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitwriteHeaderpublic long recoverIndex2Index(net.openhft.chronicle.core.values.LongValue index2Index,
Callable<Long> action,
long timeoutMS)
throws net.openhft.chronicle.wire.UnrecoverableTimeoutException,
EOFException
recoverIndex2Index in interface StoreRecoverynet.openhft.chronicle.wire.UnrecoverableTimeoutExceptionEOFExceptionpublic long recoverSecondaryAddress(net.openhft.chronicle.core.values.LongArrayValues index2indexArr,
int index2,
Callable<Long> action,
long timeoutMS)
throws net.openhft.chronicle.wire.UnrecoverableTimeoutException,
EOFException
recoverSecondaryAddress in interface StoreRecoverynet.openhft.chronicle.wire.UnrecoverableTimeoutExceptionEOFExceptionpublic long recoverAndWriteHeader(net.openhft.chronicle.wire.Wire wire,
int length,
long timeoutMS,
@NotNull
net.openhft.chronicle.core.values.LongValue lastPosition)
throws net.openhft.chronicle.wire.UnrecoverableTimeoutException
recoverAndWriteHeader in interface StoreRecoverynet.openhft.chronicle.wire.UnrecoverableTimeoutExceptionpublic void writeEndOfWire(net.openhft.chronicle.wire.Wire wire,
long timeoutMS)
throws net.openhft.chronicle.wire.UnrecoverableTimeoutException
writeEndOfWire in interface StoreRecoverynet.openhft.chronicle.wire.UnrecoverableTimeoutExceptionCopyright © 2016. All rights reserved.