public final class SerializationServiceBuilder extends Object
Constructor and Description |
---|
SerializationServiceBuilder() |
public SerializationServiceBuilder setVersion(int version)
public SerializationServiceBuilder setClassLoader(ClassLoader classLoader)
public SerializationServiceBuilder setConfig(SerializationConfig config)
public SerializationServiceBuilder addDataSerializableFactory(int id, DataSerializableFactory factory)
public SerializationServiceBuilder addPortableFactory(int id, PortableFactory factory)
public SerializationServiceBuilder addClassDefinition(ClassDefinition cd)
public SerializationServiceBuilder setCheckClassDefErrors(boolean checkClassDefErrors)
public SerializationServiceBuilder setManagedContext(ManagedContext managedContext)
public SerializationServiceBuilder setUseNativeByteOrder(boolean useNativeByteOrder)
public SerializationServiceBuilder setByteOrder(ByteOrder byteOrder)
public SerializationServiceBuilder setHazelcastInstance(HazelcastInstance hazelcastInstance)
public SerializationServiceBuilder setEnableCompression(boolean enableCompression)
public SerializationServiceBuilder setEnableSharedObject(boolean enableSharedObject)
public SerializationServiceBuilder setAllowUnsafe(boolean allowUnsafe)
public SerializationServiceBuilder setPartitioningStrategy(PartitioningStrategy partitionStrategy)
public SerializationServiceBuilder setInitialOutputBufferSize(int initialOutputBufferSize)
public SerializationService build()
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.