org.openspaces.core.util
Class ThreadLocalMarshaller
java.lang.Object
  
org.openspaces.core.util.ThreadLocalMarshaller
public class ThreadLocalMarshaller
- extends Object
 
- Author:
 
  - kimchy
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ThreadLocalMarshaller
public ThreadLocalMarshaller()
objectFromByteBuffer
public static Object objectFromByteBuffer(byte[] buffer)
                                   throws IOException,
                                          ClassNotFoundException
- Creates an object from a byte buffer.
- Throws:
 IOException
ClassNotFoundException
 
 
objectToByteBuffer
public static byte[] objectToByteBuffer(Object obj)
                                 throws IOException
- Serializes an object into a byte buffer.
 The object has to implement interface Serializable or Externalizable.
- Throws:
 IOException
 
 
Copyright © GigaSpaces.