Package | Description |
---|---|
com.hazelcast.client.config |
Contains classes related to config for com.hazelcast.client
|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Method and Description |
---|---|
SerializationConfig |
ClientConfig.getSerializationConfig()
Gets
SerializationConfig |
Modifier and Type | Method and Description |
---|---|
ClientConfig |
ClientConfig.setSerializationConfig(SerializationConfig serializationConfig)
Sets
SerializationConfig |
Modifier and Type | Method and Description |
---|---|
SerializationConfig |
SerializationConfig.addClassDefinition(ClassDefinition classDefinition) |
SerializationConfig |
SerializationConfig.addDataSerializableFactory(int factoryId,
DataSerializableFactory dataSerializableFactory) |
SerializationConfig |
SerializationConfig.addDataSerializableFactoryClass(int factoryId,
Class<? extends DataSerializableFactory> dataSerializableFactoryClass) |
SerializationConfig |
SerializationConfig.addDataSerializableFactoryClass(int factoryId,
String dataSerializableFactoryClass) |
SerializationConfig |
SerializationConfig.addPortableFactory(int factoryId,
PortableFactory portableFactory) |
SerializationConfig |
SerializationConfig.addPortableFactoryClass(int factoryId,
Class<? extends PortableFactory> portableFactoryClass) |
SerializationConfig |
SerializationConfig.addPortableFactoryClass(int factoryId,
String portableFactoryClass) |
SerializationConfig |
SerializationConfig.addSerializerConfig(SerializerConfig serializerConfig) |
SerializationConfig |
Config.getSerializationConfig()
Returns the serialization configuration for this hazelcast instance.
|
SerializationConfig |
SerializationConfig.setAllowUnsafe(boolean allowUnsafe)
Unsafe, it is not public api of java.
|
SerializationConfig |
SerializationConfig.setByteOrder(ByteOrder byteOrder)
Note that configuring use native byte order as enabled will override the byte order set by this method.
|
SerializationConfig |
SerializationConfig.setCheckClassDefErrors(boolean checkClassDefErrors)
When enabled, serialization system will check for class definitions error at start and throw an Serialization
Exception with error definition.
|
SerializationConfig |
SerializationConfig.setClassDefinitions(Set<ClassDefinition> classDefinitions) |
SerializationConfig |
SerializationConfig.setDataSerializableFactories(Map<Integer,DataSerializableFactory> dataSerializableFactories) |
SerializationConfig |
SerializationConfig.setDataSerializableFactoryClasses(Map<Integer,String> dataSerializableFactoryClasses) |
SerializationConfig |
SerializationConfig.setEnableCompression(boolean enableCompression)
Enables compression when default java serialization is used.
|
SerializationConfig |
SerializationConfig.setEnableSharedObject(boolean enableSharedObject)
Enables shared object when default java serialization is used.
|
SerializationConfig |
SerializationConfig.setGlobalSerializerConfig(GlobalSerializerConfig globalSerializerConfig) |
SerializationConfig |
SerializationConfig.setJavaSerializationFilterConfig(JavaSerializationFilterConfig javaSerializationFilterConfig)
Allows to configure deserialization protection filter.
|
SerializationConfig |
SerializationConfig.setPortableFactories(Map<Integer,PortableFactory> portableFactories) |
SerializationConfig |
SerializationConfig.setPortableFactoryClasses(Map<Integer,String> portableFactoryClasses) |
SerializationConfig |
SerializationConfig.setPortableVersion(int portableVersion) |
SerializationConfig |
SerializationConfig.setSerializerConfigs(Collection<SerializerConfig> serializerConfigs) |
SerializationConfig |
SerializationConfig.setUseNativeByteOrder(boolean useNativeByteOrder) |
Modifier and Type | Method and Description |
---|---|
Config |
Config.setSerializationConfig(SerializationConfig serializationConfig)
Sets the serialization configuration for this hazelcast instance.
|
Constructor and Description |
---|
SerializationConfig(SerializationConfig serializationConfig) |
Copyright © 2022 Hazelcast, Inc.. All rights reserved.