com.hazelcast.nio.serialization

## Interface Serializer

- All Known Subinterfaces:
    ByteArraySerializer<T>, StreamSerializer<T>

      public interface Serializer

  Base interface of custom serialization interfaces

  see `ByteArraySerializer` see `StreamSerializer`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `destroy()` Called when instance is shutting down.
    `int` | `getTypeId()`

- - ### Method Detail

    - #### getTypeId

          int getTypeId()

      Returns:
        typeId of serializer

    - #### destroy

          void destroy()

      Called when instance is shutting down. It can be used to clear used resources.

Copyright © 2020. All rights reserved.