public class TimedStoreRecovery extends net.openhft.chronicle.wire.AbstractMarshallable implements StoreRecovery, net.openhft.chronicle.wire.Demarshallable
Modifier and Type | Field and Description |
---|---|
static StoreRecoveryFactory |
FACTORY |
Constructor and Description |
---|
TimedStoreRecovery(net.openhft.chronicle.wire.WireIn in) |
TimedStoreRecovery(net.openhft.chronicle.wire.WireType wireType) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static void |
main(String[] args) |
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) |
void |
writeMarshallable(net.openhft.chronicle.wire.WireOut out) |
equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
tryWriteHeader, writeHeader
$equals, $fieldInfos, $hashCode, $toString, copyFrom, copyTo, deepCopy, fromFile, fromFile, fromFileAsMap, fromFileAsMap, fromHexString, fromString, fromString, getClassName, getField, mergeToMap, readMarshallable, reset, setField, streamFromFile, streamFromFile
public static final StoreRecoveryFactory FACTORY
@UsedViaReflection public TimedStoreRecovery(@NotNull net.openhft.chronicle.wire.WireIn in)
public TimedStoreRecovery(@NotNull net.openhft.chronicle.wire.WireType wireType)
public void writeMarshallable(@NotNull net.openhft.chronicle.wire.WireOut out)
writeMarshallable
in interface net.openhft.chronicle.wire.Marshallable
writeMarshallable
in interface net.openhft.chronicle.wire.WriteMarshallable
public long recoverIndex2Index(@NotNull net.openhft.chronicle.core.values.LongValue index2Index, @NotNull Callable<Long> action, long timeoutMS) throws net.openhft.chronicle.wire.UnrecoverableTimeoutException
recoverIndex2Index
in interface StoreRecovery
net.openhft.chronicle.wire.UnrecoverableTimeoutException
public long recoverSecondaryAddress(@NotNull net.openhft.chronicle.core.values.LongArrayValues index2indexArr, int index2, @NotNull Callable<Long> action, long timeoutMS) throws net.openhft.chronicle.wire.UnrecoverableTimeoutException
recoverSecondaryAddress
in interface StoreRecovery
net.openhft.chronicle.wire.UnrecoverableTimeoutException
public static void main(String[] args)
public long recoverAndWriteHeader(@NotNull 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
recoverAndWriteHeader
in interface StoreRecovery
net.openhft.chronicle.wire.UnrecoverableTimeoutException
EOFException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface StoreRecovery
IOException
Copyright © 2018. All rights reserved.