Class MapDBCacheEntrySerializer
java.lang.Object
se.liu.ida.hefquin.federation.access.impl.cache.mapdb.MapDBCacheEntrySerializer
- All Implemented Interfaces:
Comparator<PersistentCacheEntry>,org.mapdb.Serializer<PersistentCacheEntry>
public class MapDBCacheEntrySerializer
extends Object
implements org.mapdb.Serializer<PersistentCacheEntry>
-
Field Summary
FieldsFields inherited from interface org.mapdb.Serializer
BIG_DECIMAL, BIG_INTEGER, BOOLEAN, BYTE, BYTE_ARRAY, BYTE_ARRAY_DELTA, BYTE_ARRAY_DELTA2, BYTE_ARRAY_NOSIZE, CHAR, CHAR_ARRAY, CLASS, DATE, DOUBLE, DOUBLE_ARRAY, ELSA, FLOAT, FLOAT_ARRAY, ILLEGAL_ACCESS, INT_ARRAY, INTEGER, INTEGER_DELTA, INTEGER_PACKED, JAVA, LONG, LONG_ARRAY, LONG_DELTA, LONG_PACKED, RECID, RECID_ARRAY, SHORT, SHORT_ARRAY, STRING, STRING_ASCII, STRING_DELTA, STRING_DELTA2, STRING_INTERN, STRING_NOSIZE, STRING_ORIGHASH, UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(org.mapdb.DataInput2 in, int available) voidserialize(org.mapdb.DataOutput2 out, PersistentCacheEntry value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.mapdb.Serializer
clone, compare, deserializeFromLong, equals, fixedSize, hashCode, isTrusted, needsAvailableSizeHint
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MapDBCacheEntrySerializer
public MapDBCacheEntrySerializer()
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceorg.mapdb.Serializer<PersistentCacheEntry>- Throws:
IOException
-
deserialize
- Specified by:
deserializein interfaceorg.mapdb.Serializer<PersistentCacheEntry>- Throws:
IOException
-