|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hazelcast.config.SerializerConfig
public class SerializerConfig
Contains the serialization configuration for a particular class.
Constructor Summary | |
---|---|
SerializerConfig()
|
Method Summary | |
---|---|
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. |
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SerializerConfig()
Method Detail |
---|
public String getClassName()
public SerializerConfig setClass(Class<? extends Serializer> clazz)
clazz
- the set class of the serializer implementation
public SerializerConfig setClassName(String className)
className
- the class name of the serializer implementation
public Serializer getImplementation()
com.hazelcast.config.SerializerConfig#setImplementation(com.hazelcast.nio.serialization.Serializer)}
public SerializerConfig setImplementation(Serializer implementation)
StreamSerializer
or ByteArraySerializer
.
implementation
- the serializer instance
public Class getTypeClass()
com.hazelcast.config.SerializerConfig#setTypeClass(Class)}
public SerializerConfig setTypeClass(Class typeClass)
typeClass
- type of the class that will be serialized via this implementation
public String getTypeClassName()
com.hazelcast.config.SerializerConfig#setTypeClassName(String)}
public SerializerConfig setTypeClassName(String typeClassName)
typeClassName
- name of the class that will be serialized via this implementation
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |