Class DataSerializableSessionSerializer

java.lang.Object
org.apache.geode.DataSerializer
org.springframework.session.data.gemfire.serialization.data.AbstractDataSerializableSessionSerializer<AbstractGemFireOperationsSessionRepository.GemFireSession>
org.springframework.session.data.gemfire.serialization.data.provider.DataSerializableSessionSerializer
All Implemented Interfaces:
SessionSerializer<AbstractGemFireOperationsSessionRepository.GemFireSession,DataInput,DataOutput>

The DataSerializableSessionSerializer class is an implementation of the SessionSerializer interface used to serialize a Spring Session using the GemFire/Geode's Data Serialization framework.
Since:
2.0.0
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.session.data.gemfire.serialization.data.AbstractDataSerializableSessionSerializer

    AbstractDataSerializableSessionSerializer.DataInputReader<T>, AbstractDataSerializableSessionSerializer.DataOutputWriter
  • Field Summary

    Fields inherited from class org.springframework.session.data.gemfire.serialization.data.AbstractDataSerializableSessionSerializer

    DEFAULT_ALLOW_JAVA_SERIALIZATION

    Fields inherited from class org.apache.geode.DataSerializer

    DISALLOW_JAVA_SERIALIZATION, DOUBLE, INT, LONG, PRESENT, TRACE_SERIALIZABLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deserializes an Object from bytes contained in the provided in stream.
    int
    Returns the identifier for this DataSerializer.
    Class<?>[]
    Returns the types supported and handled by this DataSerializer during de/serialization.
    static void
    Register custom Spring Session DataSerializers with Apache Geode/Pivotal GemFire to handle de/serialization of Spring Session, Session and Session attribute types.
    void
    Serializes the given Object to the provided out stream.

    Methods inherited from class org.springframework.session.data.gemfire.serialization.data.AbstractDataSerializableSessionSerializer

    allowJavaSerialization, canSerialize, deserializeObject, fromData, safeRead, safeWrite, serializeObject, serializeObject, toData

    Methods inherited from class org.apache.geode.DataSerializer

    equals, getContext, getEventId, hashCode, readArrayList, readArrayOfByteArrays, readBoolean, readBooleanArray, readByte, readByteArray, readCharacter, readCharArray, readClass, readConcurrentHashMap, readDate, readDouble, readDoubleArray, readEnum, readFile, readFloat, readFloatArray, readHashMap, readHashSet, readHashtable, readIdentityHashMap, readInetAddress, readIntArray, readInteger, readLinkedHashMap, readLinkedHashSet, readLinkedList, readLong, readLongArray, readNonPrimitiveClassName, readObject, readObjectArray, readOptional, readOptionalDouble, readOptionalInt, readOptionalLong, readOptionalPrimitive, readPrimitiveBoolean, readPrimitiveByte, readPrimitiveChar, readPrimitiveDouble, readPrimitiveFloat, readPrimitiveInt, readPrimitiveLong, readPrimitiveShort, readProperties, readRegion, readShort, readShortArray, readStack, readString, readStringArray, readTreeMap, readTreeSet, readUnsignedByte, readUnsignedShort, readVector, register, setContext, setEventId, writeArrayList, writeArrayOfByteArrays, writeBoolean, writeBooleanArray, writeByte, writeByteArray, writeByteArray, writeCharacter, writeCharArray, writeClass, writeConcurrentHashMap, writeDate, writeDouble, writeDoubleArray, writeEnum, writeFile, writeFloat, writeFloatArray, writeHashMap, writeHashSet, writeHashtable, writeIdentityHashMap, writeInetAddress, writeIntArray, writeInteger, writeLinkedHashMap, writeLinkedHashSet, writeLinkedList, writeLong, writeLongArray, writeNonPrimitiveClassName, writeObject, writeObject, writeObjectArray, writeObjectAsByteArray, writeOptional, writeOptionalDouble, writeOptionalInt, writeOptionalLong, writePrimitiveBoolean, writePrimitiveByte, writePrimitiveChar, writePrimitiveDouble, writePrimitiveFloat, writePrimitiveInt, writePrimitiveLong, writePrimitiveShort, writeProperties, writeRegion, writeShort, writeShortArray, writeStack, writeString, writeStringArray, writeTreeMap, writeTreeSet, writeUnsignedByte, writeUnsignedShort, writeVector

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.session.data.gemfire.serialization.SessionSerializer

    canSerialize