com.hazelcast.nio.serialization
public interface SerializationService
Modifier and Type | Method and Description |
---|---|
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() |
<B extends Data> |
readData(ObjectDataInput in) |
<T> T |
readObject(ObjectDataInput in) |
void |
register(Class type,
Serializer serializer) |
void |
registerGlobal(Serializer serializer) |
<B extends Data> |
toData(Object obj) |
<B extends Data> |
toData(Object obj,
PartitioningStrategy strategy) |
<T> T |
toObject(Object data) |
void |
writeData(ObjectDataOutput out,
Data data) |
void |
writeObject(ObjectDataOutput out,
Object obj) |
<B extends Data> B toData(Object obj, PartitioningStrategy strategy)
<T> T toObject(Object data)
void writeObject(ObjectDataOutput out, Object obj)
<T> T readObject(ObjectDataInput in)
void writeData(ObjectDataOutput out, Data data)
<B extends Data> B readData(ObjectDataInput in)
void disposeData(Data data)
BufferObjectDataInput createObjectDataInput(byte[] data)
BufferObjectDataInput createObjectDataInput(Data data)
BufferObjectDataOutput createObjectDataOutput(int size)
ObjectDataOutputStream createObjectDataOutputStream(OutputStream out)
ObjectDataInputStream createObjectDataInputStream(InputStream in)
void register(Class type, Serializer serializer)
void registerGlobal(Serializer serializer)
PortableContext getPortableContext()
PortableReader createPortableReader(Data data) throws IOException
IOException
ClassLoader getClassLoader()
ManagedContext getManagedContext()
ByteOrder getByteOrder()
void destroy()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.