public class SerializationServiceV1 extends AbstractSerializationService
bufferPoolThreadLocal, dataSerializerAdapter, globalPartitioningStrategy, inputOutputFactory, javaExternalizableAdapter, javaSerializerAdapter, managedContext, nullSerializerAdapter, portableSerializerAdapter
VERSION_1
Modifier and Type | Method and Description |
---|---|
<B extends Data> |
convertData(Data data,
DataType type) |
PortableReader |
createPortableReader(Data data) |
PortableContext |
getPortableContext() |
ObjectDataInput |
initDataSerializableInputAndSkipTheHeader(Data data)
Init the ObjectDataInput for the given Data skipping the serialization header-bytes and navigating to the position
from where the readData() starts reading the object fields.
|
protected void |
registerClassDefinition(ClassDefinition cd,
Map<Integer,ClassDefinition> classDefMap,
boolean checkClassDefErrors) |
void |
registerClassDefinitions(Collection<ClassDefinition> classDefinitions,
boolean checkClassDefErrors) |
<B extends Data> |
toData(Object obj,
DataType type) |
<B extends Data> |
toData(Object obj,
DataType type,
PartitioningStrategy strategy) |
calculatePartitionHash, createObjectDataInput, createObjectDataInput, createObjectDataOutput, createObjectDataOutput, dispose, disposeData, getByteOrder, getClassLoader, getManagedContext, getVersion, readObject, readObject, register, registerConstant, registerConstant, registerGlobal, registerGlobal, safeRegister, safeRegister, serializerFor, serializerFor, toBytes, toBytes, toData, toData, toObject, toObject, writeObject
public <B extends Data> B toData(Object obj, DataType type, PartitioningStrategy strategy)
public PortableReader createPortableReader(Data data) throws IOException
IOException
public PortableContext getPortableContext()
public void registerClassDefinitions(Collection<ClassDefinition> classDefinitions, boolean checkClassDefErrors)
protected void registerClassDefinition(ClassDefinition cd, Map<Integer,ClassDefinition> classDefMap, boolean checkClassDefErrors)
public ObjectDataInput initDataSerializableInputAndSkipTheHeader(Data data) throws IOException
data
- data to initialize the ObjectDataInput with.IOException
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.