public class SerializerConfig extends Object
| Constructor and Description |
|---|
SerializerConfig() |
SerializerConfig(SerializerConfig serializerConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getClassName()
Returns the class name of the serializer implementation.
|
Serializer |
getImplementation()
Returns the implementation of the serializer class.
|
Class |
getTypeClass()
Gets the type of the class that will be serialized via this implementation.
|
String |
getTypeClassName()
Gets the name of the class that will be serialized via this implementation.
|
int |
hashCode() |
SerializerConfig |
setClass(Class<? extends Serializer> clazz)
Sets the class of the serializer implementation.
|
SerializerConfig |
setClassName(String className)
Sets the class name of the serializer implementation.
|
SerializerConfig |
setImplementation(Serializer implementation)
Sets the serializer implementation instance.
|
SerializerConfig |
setTypeClass(Class typeClass)
Sets the type of the class that will be serialized via this implementation.
|
SerializerConfig |
setTypeClassName(String typeClassName)
This method is called only if typeClass is not set.
|
String |
toString() |
public SerializerConfig()
public SerializerConfig(SerializerConfig serializerConfig)
public String getClassName()
public SerializerConfig setClass(Class<? extends Serializer> clazz)
clazz - the set class of the serializer implementationpublic SerializerConfig setClassName(@Nonnull String className)
className - the class name of the serializer implementationpublic Serializer getImplementation()
setImplementation(com.hazelcast.nio.serialization.Serializer)public SerializerConfig setImplementation(@Nonnull Serializer implementation)
StreamSerializer
or ByteArraySerializer.implementation - the serializer instancepublic Class getTypeClass()
setTypeClass(Class)public SerializerConfig setTypeClass(@Nonnull Class typeClass)
typeClass - type of the class that will be serialized via this implementationpublic String getTypeClassName()
setTypeClassName(String)public SerializerConfig setTypeClassName(@Nonnull String typeClassName)
typeClassName - name of the class that will be serialized via this implementationCopyright © 2023 Hazelcast, Inc.. All rights reserved.