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
FieldsFields inherited from interface net.openhft.chronicle.wire.ReadMarshallable
DISCARDFields inherited from interface net.openhft.chronicle.wire.WriteMarshallable
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(net.openhft.chronicle.bytes.Bytes<?> in, PersistentCacheEntry using) voidwrite(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, waitMethods inherited from interface net.openhft.chronicle.bytes.CommonMarshallable
usesSelfDescribingMessageMethods inherited from interface net.openhft.chronicle.wire.Marshallable
$fieldInfoMap, $fieldInfos, className, copyTo, deepCopy, getField, getLongField, mergeToMap, readMarshallable, reset, setField, setLongField, writeMarshallableMethods inherited from interface net.openhft.chronicle.wire.ReadMarshallable
unexpectedFieldMethods inherited from interface net.openhft.chronicle.wire.WriteMarshallable
binaryLengthLength, writeValue
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ChronicleMapCacheEntryMarshaller
public ChronicleMapCacheEntryMarshaller()
-
-
Method Details
-
write
- Specified by:
writein interfacenet.openhft.chronicle.hash.serialization.BytesWriter<PersistentCacheEntry>
-
read
public PersistentCacheEntry read(net.openhft.chronicle.bytes.Bytes<?> in, PersistentCacheEntry using) - Specified by:
readin interfacenet.openhft.chronicle.hash.serialization.BytesReader<PersistentCacheEntry>
-