Class ChronicleMapBytesMarshaller<V>

java.lang.Object
de.otto.synapse.state.ChronicleMapBytesMarshaller<V>
All Implemented Interfaces:
net.openhft.chronicle.bytes.CommonMarshallable, net.openhft.chronicle.core.io.Resettable, net.openhft.chronicle.core.util.ReadResolvable<ChronicleMapBytesMarshaller>, net.openhft.chronicle.hash.serialization.BytesReader<V>, net.openhft.chronicle.hash.serialization.BytesWriter<V>, net.openhft.chronicle.wire.Marshallable, net.openhft.chronicle.wire.ReadMarshallable, net.openhft.chronicle.wire.WriteMarshallable, net.openhft.chronicle.wire.WriteValue

public final class ChronicleMapBytesMarshaller<V> extends Object implements net.openhft.chronicle.hash.serialization.BytesWriter<V>, net.openhft.chronicle.hash.serialization.BytesReader<V>, net.openhft.chronicle.core.util.ReadResolvable<ChronicleMapBytesMarshaller>
  • Field Summary

    Fields inherited from interface net.openhft.chronicle.wire.ReadMarshallable

    DISCARD

    Fields inherited from interface net.openhft.chronicle.wire.WriteMarshallable

    EMPTY
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChronicleMapBytesMarshaller(com.fasterxml.jackson.databind.ObjectMapper objectMapper, Class<V> clazz)
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    read(net.openhft.chronicle.bytes.Bytes<?> in, V using)
     
     
    void
    write(net.openhft.chronicle.bytes.Bytes<?> out, V toWrite)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.openhft.chronicle.bytes.CommonMarshallable

    usesSelfDescribingMessage

    Methods inherited from interface net.openhft.chronicle.wire.Marshallable

    $fieldInfoMap, $fieldInfos, className, copyTo, deepCopy, getField, getLongField, mergeToMap, readMarshallable, reset, setField, setLongField, writeMarshallable

    Methods inherited from interface net.openhft.chronicle.wire.ReadMarshallable

    unexpectedField

    Methods inherited from interface net.openhft.chronicle.wire.WriteMarshallable

    binaryLengthLength, writeValue
  • Constructor Details

    • ChronicleMapBytesMarshaller

      public ChronicleMapBytesMarshaller(Class<V> clazz)
    • ChronicleMapBytesMarshaller

      public ChronicleMapBytesMarshaller(com.fasterxml.jackson.databind.ObjectMapper objectMapper, Class<V> clazz)
  • Method Details

    • read

      public V read(net.openhft.chronicle.bytes.Bytes<?> in, V using)
      Specified by:
      read in interface net.openhft.chronicle.hash.serialization.BytesReader<V>
    • write

      public void write(net.openhft.chronicle.bytes.Bytes<?> out, V toWrite)
      Specified by:
      write in interface net.openhft.chronicle.hash.serialization.BytesWriter<V>
    • readResolve

      public ChronicleMapBytesMarshaller readResolve()
      Specified by:
      readResolve in interface net.openhft.chronicle.core.util.ReadResolvable<V>