Hazelcast C++ Client
|
This is an internal class !!!! Do not use. More...
#include <Serializer.h>
Public Member Functions | |
virtual int32_t | getHazelcastTypeId () const =0 |
unique type id for this serializer. More... | |
virtual void | destroy () |
Called when instance is shutting down. More... | |
This is an internal class !!!! Do not use.
|
virtual |
Called when instance is shutting down.
It can be used to clear used resources.
|
pure virtual |
unique type id for this serializer.
It will be used to decide which serializer needs to be used for your classes. Also note that for your serialized classes you need to implement the following free function in same namespace with your class (except when you want to use the global serializer for your class)
int32_t getHazelcastTypeId(const MyClass*);
which should return same id with its serializer. User type ids always needs to be non-negative.