Package org.apache.storm.serialization

## Interface SerializationDelegate

- All Known Implementing Classes:
    `GzipBridgeThriftSerializationDelegate`, `GzipSerializationDelegate`, `GzipThriftSerializationDelegate`, `ThriftSerializationDelegate`

      public interface SerializationDelegate

  Allow `Utils` to delegate meta serialization.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `<T> T` | `deserialize​(byte[] bytes, Class<T> clazz)` |
    `void` | `prepare​(Map<String,​Object> topoConf)` | Lifecycle step that will be called after instantiating with nullary constructor.
    `byte[]` | `serialize​(Object object)` |

- - ### Method Detail

    - #### prepare

          void prepare​(Map<String,​Object> topoConf)

      Lifecycle step that will be called after instantiating with nullary constructor.

    - #### serialize

          byte[] serialize​(Object object)

    - #### deserialize

          <T> T deserialize​(byte[] bytes,
                            Class<T> clazz)