public class SerializerConfig extends Object
Constructor and Description |
---|
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 String getClassName()
public SerializerConfig setClass(Class<? extends Serializer> clazz)
clazz
- the set class of the serializer implementationpublic SerializerConfig setClassName(String className)
className
- the class name of the serializer implementationpublic Serializer getImplementation()
com.hazelcast.config.SerializerConfig#setImplementation(com.hazelcast.nio.serialization.Serializer)}
public SerializerConfig setImplementation(Serializer implementation)
StreamSerializer
or ByteArraySerializer
.implementation
- the serializer instancepublic Class getTypeClass()
com.hazelcast.config.SerializerConfig#setTypeClass(Class)}
public SerializerConfig setTypeClass(Class typeClass)
typeClass
- type of the class that will be serialized via this implementationpublic String getTypeClassName()
com.hazelcast.config.SerializerConfig#setTypeClassName(String)}
public SerializerConfig setTypeClassName(String typeClassName)
typeClassName
- name of the class that will be serialized via this implementationCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.