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) |
void |
writeEndOfWire(net.openhft.chronicle.wire.Wire wire,
long timeoutMS) |
void |
writeMarshallable(net.openhft.chronicle.wire.WireOut out) |
equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
writeHeader
public static final StoreRecoveryFactory FACTORY
@UsedViaReflection public TimedStoreRecovery(net.openhft.chronicle.wire.WireIn in)
public TimedStoreRecovery(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(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
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.