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.UnrecoverableTimeoutExceptionlong 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.UnrecoverableTimeoutExceptiondefault 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
EOFExceptionnet.openhft.chronicle.wire.UnrecoverableTimeoutExceptiondefault 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.UnrecoverableTimeoutExceptionEOFExceptiondefault void close()
throws IOException
close in interface AutoCloseableclose in interface CloseableIOExceptionCopyright © 2018. All rights reserved.