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 |
---|---|
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) |
long |
writeHeader(net.openhft.chronicle.wire.Wire wire,
int length,
int safeLength,
long timeoutMS,
net.openhft.chronicle.core.values.LongValue lastPosition) |
void |
writeMarshallable(net.openhft.chronicle.wire.WireOut out) |
equals, hashCode, toString
public static final StoreRecoveryFactory FACTORY
@UsedViaReflection public TimedStoreRecovery(net.openhft.chronicle.wire.WireIn in)
public TimedStoreRecovery(net.openhft.chronicle.wire.WireType wireType)
public long writeHeader(net.openhft.chronicle.wire.Wire wire, int length, int safeLength, long timeoutMS, @Nullable net.openhft.chronicle.core.values.LongValue lastPosition) throws EOFException, net.openhft.chronicle.wire.UnrecoverableTimeoutException
writeHeader
in interface StoreRecovery
EOFException
net.openhft.chronicle.wire.UnrecoverableTimeoutException
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(net.openhft.chronicle.core.values.LongValue index2Index, Callable<Long> action, long timeoutMS) throws net.openhft.chronicle.wire.UnrecoverableTimeoutException
recoverIndex2Index
in interface StoreRecovery
net.openhft.chronicle.wire.UnrecoverableTimeoutException
public long recoverSecondaryAddress(net.openhft.chronicle.core.values.LongArrayValues index2indexArr, int index2, Callable<Long> action, long timeoutMS) throws net.openhft.chronicle.wire.UnrecoverableTimeoutException
recoverSecondaryAddress
in interface StoreRecovery
net.openhft.chronicle.wire.UnrecoverableTimeoutException
public long recoverAndWriteHeader(net.openhft.chronicle.wire.Wire wire, int length, long timeoutMS, net.openhft.chronicle.core.values.LongValue lastPosition) throws net.openhft.chronicle.wire.UnrecoverableTimeoutException, EOFException
recoverAndWriteHeader
in interface StoreRecovery
net.openhft.chronicle.wire.UnrecoverableTimeoutException
EOFException
Copyright © 2017. All rights reserved.