com.hazelcast.nio.serialization
Interface SerializationServiceBuilder

All Known Implementing Classes:
DefaultSerializationServiceBuilder

public interface SerializationServiceBuilder


Method Summary
 SerializationServiceBuilder addClassDefinition(ClassDefinition cd)
           
 SerializationServiceBuilder addDataSerializableFactory(int id, DataSerializableFactory factory)
           
 SerializationServiceBuilder addPortableFactory(int id, PortableFactory factory)
           
 SerializationService build()
           
 SerializationServiceBuilder setAllowUnsafe(boolean allowUnsafe)
           
 SerializationServiceBuilder setByteOrder(ByteOrder byteOrder)
           
 SerializationServiceBuilder setCheckClassDefErrors(boolean checkClassDefErrors)
           
 SerializationServiceBuilder setClassLoader(ClassLoader classLoader)
           
 SerializationServiceBuilder setConfig(SerializationConfig config)
           
 SerializationServiceBuilder setEnableCompression(boolean enableCompression)
           
 SerializationServiceBuilder setEnableSharedObject(boolean enableSharedObject)
           
 SerializationServiceBuilder setHazelcastInstance(HazelcastInstance hazelcastInstance)
           
 SerializationServiceBuilder setInitialOutputBufferSize(int initialOutputBufferSize)
           
 SerializationServiceBuilder setManagedContext(ManagedContext managedContext)
           
 SerializationServiceBuilder setPartitioningStrategy(PartitioningStrategy partitionStrategy)
           
 SerializationServiceBuilder setUseNativeByteOrder(boolean useNativeByteOrder)
           
 SerializationServiceBuilder setVersion(int version)
           
 

Method Detail

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.