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 and Description
    --- | ---
    `T` | `deserialize(byte[] b)`
    `byte[]` | `serialize(T obj)`

- - ### Method Detail

    - #### serialize

          byte[] serialize(T obj)

    - #### deserialize

          T deserialize(byte[] b)

Copyright © 2021 The Apache Software Foundation. All rights reserved.