Class SessionDataSerializer
- java.lang.Object
-
- org.eclipse.jetty.hazelcast.session.SessionDataSerializer
-
- All Implemented Interfaces:
com.hazelcast.nio.serialization.Serializer
,com.hazelcast.nio.serialization.StreamSerializer<SessionData>
public class SessionDataSerializer extends java.lang.Object implements com.hazelcast.nio.serialization.StreamSerializer<SessionData>
SessionDataSerializer Handles serialization on behalf of the SessionData object, and ensures that we use jetty's classloading knowledge.
-
-
Field Summary
Fields Modifier and Type Field Description static int
__TYPEID
-
Constructor Summary
Constructors Constructor Description SessionDataSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
int
getTypeId()
SessionData
read(com.hazelcast.nio.ObjectDataInput in)
void
write(com.hazelcast.nio.ObjectDataOutput out, SessionData data)
-
-
-
Field Detail
-
__TYPEID
public static final int __TYPEID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTypeId
public int getTypeId()
- Specified by:
getTypeId
in interfacecom.hazelcast.nio.serialization.Serializer
-
destroy
public void destroy()
- Specified by:
destroy
in interfacecom.hazelcast.nio.serialization.Serializer
-
write
public void write(com.hazelcast.nio.ObjectDataOutput out, SessionData data) throws java.io.IOException
- Specified by:
write
in interfacecom.hazelcast.nio.serialization.StreamSerializer<SessionData>
- Throws:
java.io.IOException
-
read
public SessionData read(com.hazelcast.nio.ObjectDataInput in) throws java.io.IOException
- Specified by:
read
in interfacecom.hazelcast.nio.serialization.StreamSerializer<SessionData>
- Throws:
java.io.IOException
-
-