Class ValueSerializer
java.lang.Object
com.e1c.langtool.v8.dt.bsl.i18n.internal.cache.ValueSerializer
- All Implemented Interfaces:
Serializable,org.mapdb.Serializer<Value>
public final class ValueSerializer
extends Object
implements org.mapdb.Serializer<Value>, Serializable
Serializer for
Value for MapDB that stores it in stream timestamp and content in UTF.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.mapdb.Serializer
org.mapdb.Serializer.CompressionWrapper<E extends Object> -
Field Summary
Fields inherited from interface org.mapdb.Serializer
BASIC, BOOLEAN, BYTE_ARRAY, BYTE_ARRAY_NOSIZE, CHAR_ARRAY, DOUBLE_ARRAY, ILLEGAL_ACCESS, INT_ARRAY, INTEGER, JAVA, LONG, LONG_ARRAY, STRING, STRING_ASCII, STRING_INTERN, STRING_NOSIZE, UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(DataInput in, int available) intvoidserialize(DataOutput out, Value value)
-
Constructor Details
-
ValueSerializer
public ValueSerializer()
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceorg.mapdb.Serializer<Value>- Throws:
IOException
-
deserialize
- Specified by:
deserializein interfaceorg.mapdb.Serializer<Value>- Throws:
IOException
-
fixedSize
public int fixedSize()- Specified by:
fixedSizein interfaceorg.mapdb.Serializer<Value>
-