com.hazelcast.nio.serialization
Interface SerializationService
- All Known Implementing Classes:
- SerializationServiceImpl
public interface SerializationService
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.