Package org.ehcache.impl.serialization
Class PlainJavaSerializer<T>
java.lang.Object
org.ehcache.impl.serialization.PlainJavaSerializer<T>
- All Implemented Interfaces:
org.ehcache.spi.serialization.Serializer<T>
public class PlainJavaSerializer<T>
extends Object
implements org.ehcache.spi.serialization.Serializer<T>
Plain Java serialization based serializer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(T object, ByteBuffer binary) read(ByteBuffer entry)
-
Constructor Details
-
PlainJavaSerializer
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceorg.ehcache.spi.serialization.Serializer<T>
-
read
public T read(ByteBuffer entry) throws org.ehcache.spi.serialization.SerializerException, ClassNotFoundException - Specified by:
readin interfaceorg.ehcache.spi.serialization.Serializer<T>- Throws:
org.ehcache.spi.serialization.SerializerExceptionClassNotFoundException
-
equals
public boolean equals(T object, ByteBuffer binary) throws org.ehcache.spi.serialization.SerializerException, ClassNotFoundException - Specified by:
equalsin interfaceorg.ehcache.spi.serialization.Serializer<T>- Throws:
org.ehcache.spi.serialization.SerializerExceptionClassNotFoundException
-