Class EhcacheSerializer
java.lang.Object
com.broadleafcommerce.common.extension.cache.ehcache.EhcacheSerializer
- All Implemented Interfaces:
org.ehcache.spi.serialization.Serializer<Object>
public class EhcacheSerializer
extends Object
implements org.ehcache.spi.serialization.Serializer<Object>
Custom Ehcache 3 Serializer leveraging Apache Fury for high-performance, compact serialization.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(Object object, ByteBuffer binary) read(ByteBuffer binary)
-
Constructor Details
-
EhcacheSerializer
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceorg.ehcache.spi.serialization.Serializer<Object>- Throws:
org.ehcache.spi.serialization.SerializerException
-
read
public Object read(ByteBuffer binary) throws ClassNotFoundException, org.ehcache.spi.serialization.SerializerException - Specified by:
readin interfaceorg.ehcache.spi.serialization.Serializer<Object>- Throws:
ClassNotFoundExceptionorg.ehcache.spi.serialization.SerializerException
-
equals
public boolean equals(Object object, ByteBuffer binary) throws ClassNotFoundException, org.ehcache.spi.serialization.SerializerException - Specified by:
equalsin interfaceorg.ehcache.spi.serialization.Serializer<Object>- Throws:
ClassNotFoundExceptionorg.ehcache.spi.serialization.SerializerException
-