Package com.hazelcast.nio.serialization
Interface Serializer
- All Known Subinterfaces:
 ByteArraySerializer<T>,StreamSerializer<T>
- All Known Implementing Classes:
 ProtobufSerializer
public interface Serializer
Base interface of custom serialization interfaces
 
 see ByteArraySerializer
 see StreamSerializer
- 
Method Summary
 
- 
Method Details
- 
getTypeId
int getTypeId()Uniquely identifies given serializer.- Returns:
 - typeId of serializer
 
 - 
destroy
default void destroy()Called when instance is shutting down. It can be used to clear used resources. 
 -