Package org.apache.storm.state

## Interface Serializer<T>

- All Superinterfaces:
    `Serializable`
  All Known Implementing Classes:
    `DefaultStateSerializer`

      public interface Serializer<T>
      extends Serializable

  Interface to be implemented for serlializing and de-serializing the state.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `T` | `deserialize​(byte[] b)` |
    `byte[]` | `serialize​(T obj)` |

- - ### Method Detail

    - #### serialize

          byte[] serialize​(T obj)

    - #### deserialize

          T deserialize​(byte[] b)