Interface RaftStoreSerializer.Serializer<T>

Enclosing interface:
RaftStoreSerializer

public static interface RaftStoreSerializer.Serializer<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize(byte[] element)
     
    byte[]
    serialize(T element)
     
  • Method Details

    • serialize

      @Nonnull byte[] serialize(@Nonnull T element)
    • deserialize

      @Nonnull T deserialize(@Nonnull byte[] element)