Package org.openspaces.core.util
Class ThreadLocalMarshaller
java.lang.Object
org.openspaces.core.util.ThreadLocalMarshaller
- Author:
- kimchy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectobjectFromByteBuffer(byte[] buffer) Creates an object from a byte buffer.static byte[]objectToByteBuffer(Object obj) Serializes an object into a byte buffer.
-
Constructor Details
-
ThreadLocalMarshaller
public ThreadLocalMarshaller()
-
-
Method Details
-
objectFromByteBuffer
Creates an object from a byte buffer.- Throws:
IOExceptionClassNotFoundException
-
objectToByteBuffer
Serializes an object into a byte buffer. The object has to implement interface Serializable or Externalizable.- Throws:
IOException
-