public interface StoreRecovery extends net.openhft.chronicle.wire.WriteMarshallable, Closeable
Modifier and Type | Method and Description |
---|---|
default void |
close() |
long |
recoverAndWriteHeader(net.openhft.chronicle.wire.Wire wire,
long timeoutMS,
net.openhft.chronicle.core.values.LongValue lastPosition,
net.openhft.chronicle.wire.Sequence sequence) |
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) |
default long |
tryWriteHeader(net.openhft.chronicle.wire.Wire wire,
int safeLength) |
default long |
writeHeader(net.openhft.chronicle.wire.Wire wire,
int safeLength,
long timeoutMS,
net.openhft.chronicle.core.values.LongValue lastPosition,
net.openhft.chronicle.wire.Sequence sequence) |
long recoverIndex2Index(net.openhft.chronicle.core.values.LongValue index2Index, Callable<Long> action, long timeoutMS) throws net.openhft.chronicle.wire.UnrecoverableTimeoutException
net.openhft.chronicle.wire.UnrecoverableTimeoutException
long recoverSecondaryAddress(net.openhft.chronicle.core.values.LongArrayValues index2indexArr, int index2, Callable<Long> action, long timeoutMS) throws net.openhft.chronicle.wire.UnrecoverableTimeoutException
net.openhft.chronicle.wire.UnrecoverableTimeoutException
default long writeHeader(@NotNull net.openhft.chronicle.wire.Wire wire, int safeLength, long timeoutMS, @Nullable net.openhft.chronicle.core.values.LongValue lastPosition, net.openhft.chronicle.wire.Sequence sequence) throws EOFException, net.openhft.chronicle.wire.UnrecoverableTimeoutException
EOFException
net.openhft.chronicle.wire.UnrecoverableTimeoutException
default long tryWriteHeader(@NotNull net.openhft.chronicle.wire.Wire wire, int safeLength)
long recoverAndWriteHeader(net.openhft.chronicle.wire.Wire wire, long timeoutMS, net.openhft.chronicle.core.values.LongValue lastPosition, net.openhft.chronicle.wire.Sequence sequence) throws net.openhft.chronicle.wire.UnrecoverableTimeoutException, EOFException
net.openhft.chronicle.wire.UnrecoverableTimeoutException
EOFException
default void close() throws IOException
close
in interface AutoCloseable
close
in interface Closeable
IOException
Copyright © 2018. All rights reserved.