Spring Session for VMware GemFire
Class AbstractPdxSerializableSessionSerializer<T extends org.springframework.session.Session>
java.lang.Object
org.springframework.session.data.gemfire.serialization.pdx.AbstractPdxSerializableSessionSerializer<T>
- All Implemented Interfaces:
org.apache.geode.pdx.PdxSerializer,SessionSerializer<T,org.apache.geode.pdx.PdxReader, org.apache.geode.pdx.PdxWriter>
- Direct Known Subclasses:
PdxSerializableSessionSerializer,PdxSerializerSessionSerializerAdapter
public abstract class AbstractPdxSerializableSessionSerializer<T extends org.springframework.session.Session>
extends Object
implements org.apache.geode.pdx.PdxSerializer, SessionSerializer<T,org.apache.geode.pdx.PdxReader,org.apache.geode.pdx.PdxWriter>
The
AbstractPdxSerializableSessionSerializer class is an abstract base class containing functionality common
to all GemFire/Geode PDX-based SessionSerializer implementations.
This class also implements GemFire/Geode's PdxSerializer interface, adapting it to the Spring Session,
Data Pivotal GemFire SessionSerializer interface.- Since:
- 2.0.0
- See Also:
-
PdxReaderPdxWriterPdxSerializerSessionSessionSerializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanSerialize(Class<?> type) Determines whether the giventypecan be de/serialized by thisSessionSerializer.booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.session.data.gemfire.serialization.SessionSerializer
canSerialize, deserialize, serialize
-
Constructor Details
-
AbstractPdxSerializableSessionSerializer
public AbstractPdxSerializableSessionSerializer()
-
-
Method Details
-
toData
- Specified by:
toDatain interfaceorg.apache.geode.pdx.PdxSerializer
-
fromData
- Specified by:
fromDatain interfaceorg.apache.geode.pdx.PdxSerializer
-
canSerialize
Description copied from interface:SessionSerializerDetermines whether the giventypecan be de/serialized by thisSessionSerializer.- Specified by:
canSerializein interfaceSessionSerializer<T extends org.springframework.session.Session,org.apache.geode.pdx.PdxReader, org.apache.geode.pdx.PdxWriter> - Parameters:
type-Classto evaluate for whether de/serialization is supported.- Returns:
- a boolean value indicating whether the specified
typecan be de/serialized by thisSessionSerializer. - See Also:
-