public class SerializerConfig extends Object
Constructor and Description |
---|
SerializerConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getClassName() |
Serializer |
getImplementation() |
Class |
getTypeClass() |
String |
getTypeClassName() |
SerializerConfig |
setClass(Class<? extends Serializer> clazz) |
SerializerConfig |
setClassName(String className) |
SerializerConfig |
setImplementation(Serializer implementation)
Sets the serializer implementation instance.
|
SerializerConfig |
setTypeClass(Class typeClass) |
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
- set class of serializer implementationpublic SerializerConfig setClassName(String className)
className
- class name of serializer implementationpublic Serializer getImplementation()
com.hazelcast.config.SerializerConfig#setImplementation(com.hazelcast.nio.serialization.Serializer)}
public SerializerConfig setImplementation(Serializer implementation)
StreamSerializer
or ByteArraySerializer
.implementation
- 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 © 2014 Hazelcast, Inc.. All Rights Reserved.