Class CharSequenceSerializer
java.lang.Object
io.micronaut.cache.ehcache.serialization.CharSequenceSerializer
- All Implemented Interfaces:
org.ehcache.spi.serialization.Serializer<CharSequence>
public class CharSequenceSerializer
extends Object
implements org.ehcache.spi.serialization.Serializer<CharSequence>
- Since:
- 1.0.0
- Author:
- Álvaro Sánchez-Mariscal
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
equals
(CharSequence object, ByteBuffer binary) read
(ByteBuffer binary) serialize
(CharSequence object)
-
Constructor Details
-
CharSequenceSerializer
public CharSequenceSerializer()Default constructor.
-
-
Method Details
-
serialize
public ByteBuffer serialize(CharSequence object) throws org.ehcache.spi.serialization.SerializerException - Specified by:
serialize
in interfaceorg.ehcache.spi.serialization.Serializer<CharSequence>
- Throws:
org.ehcache.spi.serialization.SerializerException
-
read
public CharSequence read(ByteBuffer binary) throws ClassNotFoundException, org.ehcache.spi.serialization.SerializerException - Specified by:
read
in interfaceorg.ehcache.spi.serialization.Serializer<CharSequence>
- Throws:
ClassNotFoundException
org.ehcache.spi.serialization.SerializerException
-
equals
public boolean equals(CharSequence object, ByteBuffer binary) throws ClassNotFoundException, org.ehcache.spi.serialization.SerializerException - Specified by:
equals
in interfaceorg.ehcache.spi.serialization.Serializer<CharSequence>
- Throws:
ClassNotFoundException
org.ehcache.spi.serialization.SerializerException
-