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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
writeHeader
public long recoverIndex2Index(net.openhft.chronicle.core.values.LongValue index2Index, Callable<Long> action, long timeoutMS) throws net.openhft.chronicle.wire.UnrecoverableTimeoutException, EOFException
recoverIndex2Index
in interface StoreRecovery
net.openhft.chronicle.wire.UnrecoverableTimeoutException
EOFException
public 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 StoreRecovery
net.openhft.chronicle.wire.UnrecoverableTimeoutException
EOFException
public 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 StoreRecovery
net.openhft.chronicle.wire.UnrecoverableTimeoutException
public void writeEndOfWire(net.openhft.chronicle.wire.Wire wire, long timeoutMS) throws net.openhft.chronicle.wire.UnrecoverableTimeoutException
writeEndOfWire
in interface StoreRecovery
net.openhft.chronicle.wire.UnrecoverableTimeoutException
Copyright © 2016. All rights reserved.