com.hazelcast.nio.serialization
Interface SerializationServiceBuilder
- All Known Implementing Classes:
- DefaultSerializationServiceBuilder
public interface SerializationServiceBuilder
setVersion
SerializationServiceBuilder setVersion(int version)
setClassLoader
SerializationServiceBuilder setClassLoader(ClassLoader classLoader)
setConfig
SerializationServiceBuilder setConfig(SerializationConfig config)
addDataSerializableFactory
SerializationServiceBuilder addDataSerializableFactory(int id,
DataSerializableFactory factory)
addPortableFactory
SerializationServiceBuilder addPortableFactory(int id,
PortableFactory factory)
addClassDefinition
SerializationServiceBuilder addClassDefinition(ClassDefinition cd)
setCheckClassDefErrors
SerializationServiceBuilder setCheckClassDefErrors(boolean checkClassDefErrors)
setManagedContext
SerializationServiceBuilder setManagedContext(ManagedContext managedContext)
setUseNativeByteOrder
SerializationServiceBuilder setUseNativeByteOrder(boolean useNativeByteOrder)
setByteOrder
SerializationServiceBuilder setByteOrder(ByteOrder byteOrder)
setHazelcastInstance
SerializationServiceBuilder setHazelcastInstance(HazelcastInstance hazelcastInstance)
setEnableCompression
SerializationServiceBuilder setEnableCompression(boolean enableCompression)
setEnableSharedObject
SerializationServiceBuilder setEnableSharedObject(boolean enableSharedObject)
setAllowUnsafe
SerializationServiceBuilder setAllowUnsafe(boolean allowUnsafe)
setPartitioningStrategy
SerializationServiceBuilder setPartitioningStrategy(PartitioningStrategy partitionStrategy)
setInitialOutputBufferSize
SerializationServiceBuilder setInitialOutputBufferSize(int initialOutputBufferSize)
build
SerializationService build()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.