Interface ChunkIdCodec<C>

All Superinterfaces:
JsonCodec<C>, com.dslplatform.json.JsonReader.ReadObject<C>, com.dslplatform.json.JsonWriter.WriteObject<C>

public interface ChunkIdCodec<C> extends JsonCodec<C>
  • Method Summary

    Modifier and Type
    Method
    Description
    fromFileName(String chunkFileName)
     
     
     
    toFileName(C chunkId)
     

    Methods inherited from interface io.activej.aggregation.util.JsonCodec

    nullable

    Methods inherited from interface com.dslplatform.json.JsonReader.ReadObject

    read

    Methods inherited from interface com.dslplatform.json.JsonWriter.WriteObject

    write
  • Method Details

    • toFileName

      String toFileName(C chunkId)
    • fromFileName

      C fromFileName(String chunkFileName) throws io.activej.common.exception.MalformedDataException
      Throws:
      io.activej.common.exception.MalformedDataException
    • ofLong

      static ChunkIdCodec<Long> ofLong()
    • ofString

      static ChunkIdCodec<String> ofString()