public interface WireStore
extends net.openhft.chronicle.core.ReferenceCounted, net.openhft.chronicle.wire.Demarshallable, net.openhft.chronicle.wire.WriteMarshallable
Modifier and Type | Method and Description |
---|---|
boolean |
appendRollMeta(net.openhft.chronicle.wire.Wire wire,
long cycle,
long timeoutMS) |
String |
dump() |
long |
epoch() |
long |
indexForPosition(net.openhft.chronicle.wire.Wire wire,
long position,
long timeoutMS)
Reverse look up an index for a position.
|
long |
lastEntryIndexed(net.openhft.chronicle.wire.Wire wire,
long timeoutMS) |
net.openhft.chronicle.bytes.MappedBytes |
mappedBytes() |
ScanResult |
moveToIndex(net.openhft.chronicle.wire.Wire wire,
long index,
long timeoutMS) |
long |
writePosition() |
WireStore |
writePosition(long position) |
close, refCount, release, release, releaseAll, reserve, tryReserve
WireStore writePosition(long position)
long epoch()
long writePosition()
long lastEntryIndexed(net.openhft.chronicle.wire.Wire wire, long timeoutMS)
boolean appendRollMeta(@NotNull net.openhft.chronicle.wire.Wire wire, long cycle, long timeoutMS) throws TimeoutException
TimeoutException
ScanResult moveToIndex(@NotNull net.openhft.chronicle.wire.Wire wire, long index, long timeoutMS) throws TimeoutException
TimeoutException
@NotNull net.openhft.chronicle.bytes.MappedBytes mappedBytes()
long indexForPosition(net.openhft.chronicle.wire.Wire wire, long position, long timeoutMS) throws EOFException, TimeoutException
position
- of the start of the messagetimeoutMS
- EOFException
TimeoutException
String dump()
Copyright © 2016. All rights reserved.