Class ChronicleMapBytesMarshaller<V>

java.lang.Object
de.otto.synapse.state.ChronicleMapBytesMarshaller<V>
All Implemented Interfaces:
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 java.lang.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, java.lang.Class<V> clazz)  
    ChronicleMapBytesMarshaller​(java.lang.Class<V> clazz)  
  • Method Summary

    Modifier and Type Method Description
    V read​(net.openhft.chronicle.bytes.Bytes in, V using)  
    ChronicleMapBytesMarshaller readResolve()  
    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.wire.Marshallable

    $fieldInfos, copyFrom, copyTo, deepCopy, getClassName, getField, mergeToMap, readMarshallable, reset, setField, writeMarshallable

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

    unexpectedField

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

    writeValue
  • Constructor Details

  • 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>