public interface WireStore
extends net.openhft.chronicle.core.ReferenceCounted, net.openhft.chronicle.wire.Marshallable
| Modifier and Type | Method and Description |
|---|---|
long |
append(net.openhft.chronicle.wire.WriteMarshallable writer) |
boolean |
appendRollMeta(long cycle) |
long |
cycle() |
void |
install(net.openhft.chronicle.bytes.BytesStore store,
long length,
boolean created,
long cycle,
java.util.function.Function<net.openhft.chronicle.bytes.Bytes,net.openhft.chronicle.wire.Wire> wireSupplier,
Closeable closeable) |
long |
lastIndex() |
long |
positionForIndex(long index) |
long |
read(long position,
net.openhft.chronicle.wire.ReadMarshallable reader) |
long |
readPosition() |
long |
writePosition() |
long cycle()
long readPosition()
long writePosition()
long lastIndex()
boolean appendRollMeta(long cycle)
throws IOException
cycle - IOExceptionlong append(@NotNull
net.openhft.chronicle.wire.WriteMarshallable writer)
throws IOException
writer - IOExceptionlong read(long position,
@NotNull
net.openhft.chronicle.wire.ReadMarshallable reader)
throws IOException
position - reader - IOExceptionlong positionForIndex(long index)
index - void install(@NotNull
net.openhft.chronicle.bytes.BytesStore store,
long length,
boolean created,
long cycle,
@NotNull
java.util.function.Function<net.openhft.chronicle.bytes.Bytes,net.openhft.chronicle.wire.Wire> wireSupplier,
@Nullable
Closeable closeable)
throws IOException
store - length - created - cycle - wireSupplier - closeable - IOExceptionCopyright © 2015. All rights reserved.