Class ChronicleMapCacheEntryMarshaller

java.lang.Object
se.liu.ida.hefquin.federation.access.impl.cache.chroniclemap.ChronicleMapCacheEntryMarshaller
All Implemented Interfaces:
net.openhft.chronicle.bytes.CommonMarshallable, net.openhft.chronicle.core.io.Resettable, net.openhft.chronicle.hash.serialization.BytesReader<PersistentCacheEntry>, net.openhft.chronicle.hash.serialization.BytesWriter<PersistentCacheEntry>, net.openhft.chronicle.wire.Marshallable, net.openhft.chronicle.wire.ReadMarshallable, net.openhft.chronicle.wire.WriteMarshallable, net.openhft.chronicle.wire.WriteValue

public class ChronicleMapCacheEntryMarshaller extends Object implements net.openhft.chronicle.hash.serialization.BytesWriter<PersistentCacheEntry>, net.openhft.chronicle.hash.serialization.BytesReader<PersistentCacheEntry>
Serializer/deserializer for PersistentCacheEntry.

Writes the entry's creation timestamp followed by a serialized form of the cached DataRetrievalResponse, including a type discriminator. Reading reconstructs a new entry instance.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

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

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

    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