com.hazelcast.nio.serialization
Interface SerializationService

All Known Implementing Classes:
SerializationServiceImpl

public interface SerializationService


Method Summary
 BufferObjectDataInput createObjectDataInput(byte[] data)
           
 BufferObjectDataInput createObjectDataInput(Data data)
           
 ObjectDataInputStream createObjectDataInputStream(InputStream in)
           
 BufferObjectDataOutput createObjectDataOutput(int size)
           
 ObjectDataOutputStream createObjectDataOutputStream(OutputStream out)
           
 PortableReader createPortableReader(Data data)
           
 void destroy()
           
 void disposeData(Data data)
           
 ByteOrder getByteOrder()
           
 ClassLoader getClassLoader()
           
 ManagedContext getManagedContext()
           
 PortableContext getPortableContext()
           
 BufferObjectDataOutput pop()
           
 void push(BufferObjectDataOutput out)
           
<B extends Data>
B
readData(ObjectDataInput in)
           
<T> T
readObject(ObjectDataInput in)
           
 void register(Class type, Serializer serializer)
           
 void registerGlobal(Serializer serializer)
           
<B extends Data>
B
toData(Object obj)
           
<B extends Data>
B
toData(Object obj, PartitioningStrategy strategy)
           
<T> T
toObject(Object data)
           
 void writeData(ObjectDataOutput out, Data data)
           
 void writeObject(ObjectDataOutput out, Object obj)
           
 

Method Detail

toData

<B extends Data> B toData(Object obj)

toData

<B extends Data> B toData(Object obj,
                          PartitioningStrategy strategy)

toObject

<T> T toObject(Object data)

writeObject

void writeObject(ObjectDataOutput out,
                 Object obj)

readObject

<T> T readObject(ObjectDataInput in)

writeData

void writeData(ObjectDataOutput out,
               Data data)

readData

<B extends Data> B readData(ObjectDataInput in)

disposeData

void disposeData(Data data)

createObjectDataInput

BufferObjectDataInput createObjectDataInput(byte[] data)

createObjectDataInput

BufferObjectDataInput createObjectDataInput(Data data)

createObjectDataOutput

BufferObjectDataOutput createObjectDataOutput(int size)

createObjectDataOutputStream

ObjectDataOutputStream createObjectDataOutputStream(OutputStream out)

createObjectDataInputStream

ObjectDataInputStream createObjectDataInputStream(InputStream in)

register

void register(Class type,
              Serializer serializer)

registerGlobal

void registerGlobal(Serializer serializer)

getPortableContext

PortableContext getPortableContext()

createPortableReader

PortableReader createPortableReader(Data data)
                                    throws IOException
Throws:
IOException

getClassLoader

ClassLoader getClassLoader()

getManagedContext

ManagedContext getManagedContext()

getByteOrder

ByteOrder getByteOrder()

pop

BufferObjectDataOutput pop()

push

void push(BufferObjectDataOutput out)

destroy

void destroy()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.