public static class Utils.HistogramKeyMarshaller extends Object implements net.openhft.chronicle.hash.serialization.BytesReader<Utils.HistogramKey>, net.openhft.chronicle.hash.serialization.BytesWriter<Utils.HistogramKey>, net.openhft.chronicle.core.util.ReadResolvable<Utils.HistogramKeyMarshaller>
Utils.HistogramKey
the form short length and bytes
Consider using chronicle-values or making this stateful with a local byte[] / Stringbuffers to be a little more
efficient about encodings.Modifier and Type | Method and Description |
---|---|
static Utils.HistogramKeyMarshaller |
get() |
Utils.HistogramKey |
read(net.openhft.chronicle.bytes.Bytes in,
Utils.HistogramKey using) |
void |
readMarshallable(net.openhft.chronicle.wire.WireIn wire) |
Utils.HistogramKeyMarshaller |
readResolve() |
void |
write(net.openhft.chronicle.bytes.Bytes out,
Utils.HistogramKey toWrite) |
void |
writeMarshallable(net.openhft.chronicle.wire.WireOut wire) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static Utils.HistogramKeyMarshaller get()
public Utils.HistogramKeyMarshaller readResolve()
readResolve
in interface net.openhft.chronicle.core.util.ReadResolvable<Utils.HistogramKeyMarshaller>
public void readMarshallable(@NotNull net.openhft.chronicle.wire.WireIn wire) throws net.openhft.chronicle.core.io.IORuntimeException
readMarshallable
in interface net.openhft.chronicle.wire.Marshallable
readMarshallable
in interface net.openhft.chronicle.wire.ReadMarshallable
net.openhft.chronicle.core.io.IORuntimeException
public void writeMarshallable(@NotNull net.openhft.chronicle.wire.WireOut wire)
writeMarshallable
in interface net.openhft.chronicle.wire.Marshallable
writeMarshallable
in interface net.openhft.chronicle.wire.WriteMarshallable
@NotNull public Utils.HistogramKey read(net.openhft.chronicle.bytes.Bytes in, @Nullable Utils.HistogramKey using)
read
in interface net.openhft.chronicle.hash.serialization.BytesReader<Utils.HistogramKey>
public void write(net.openhft.chronicle.bytes.Bytes out, @NotNull Utils.HistogramKey toWrite)
write
in interface net.openhft.chronicle.hash.serialization.BytesWriter<Utils.HistogramKey>
Copyright © 2018. All rights reserved.