public class SerializationServiceV1 extends AbstractSerializationService
bufferPoolThreadLocal, dataSerializerAdapter, globalPartitioningStrategy, inputOutputFactory, javaExternalizableAdapter, javaSerializerAdapter, managedContext, nullSerializerAdapter, portableSerializerAdapter
VERSION_1
Modifier and Type | Method and Description |
---|---|
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) |
calculatePartitionHash, createObjectDataInput, createObjectDataInput, createObjectDataOutput, createObjectDataOutput, dispose, disposeData, getByteOrder, getClassLoader, getManagedContext, getVersion, readObject, readObject, register, registerConstant, registerConstant, registerGlobal, registerGlobal, safeRegister, safeRegister, serializerFor, serializerFor, toBytes, toBytes, toBytes, toBytes, toData, toData, toObject, toObject, writeObject
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 © 2017 Hazelcast, Inc.. All Rights Reserved.