Package com.hazelcast.nio.serialization
Interface Serializer
- All Known Subinterfaces:
ByteArraySerializer<T>
,StreamSerializer<T>
public interface Serializer
Base interface of custom serialization interfaces
- See Also:
-
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.
-