public class PlainJavaSerializer<T>
extends java.lang.Object
implements org.ehcache.spi.serialization.Serializer<T>
| Constructor and Description |
|---|
PlainJavaSerializer(java.lang.ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(T object,
java.nio.ByteBuffer binary) |
T |
read(java.nio.ByteBuffer entry) |
java.nio.ByteBuffer |
serialize(T object) |
public PlainJavaSerializer(java.lang.ClassLoader classLoader)
public java.nio.ByteBuffer serialize(T object)
serialize in interface org.ehcache.spi.serialization.Serializer<T>public T read(java.nio.ByteBuffer entry) throws org.ehcache.spi.serialization.SerializerException, java.lang.ClassNotFoundException
read in interface org.ehcache.spi.serialization.Serializer<T>org.ehcache.spi.serialization.SerializerExceptionjava.lang.ClassNotFoundExceptionpublic boolean equals(T object, java.nio.ByteBuffer binary) throws org.ehcache.spi.serialization.SerializerException, java.lang.ClassNotFoundException
equals in interface org.ehcache.spi.serialization.Serializer<T>org.ehcache.spi.serialization.SerializerExceptionjava.lang.ClassNotFoundException