Class MergeConfig

java.lang.Object
eu.steffo.cleaver.logic.split.SplitConfig
eu.steffo.cleaver.logic.split.MergeConfig

public class MergeConfig
extends SplitConfig
A SplitConfig created by reading a *.chp file, containing the number of parts and their size, but not the resulting file size.
  • Field Details

    • partSize

      private long partSize
      The size of the parts the file was split in.
    • parts

      private int parts
      The number of parts the file was split in.
    • totalSize

      private long totalSize
      The total size of the original file.
  • Constructor Details

    • MergeConfig

      public MergeConfig​(long partSize, int parts, long totalSize)
      Construct a new MergeConfig.
      Parameters:
      partSize - The size of the parts the file was split in.
      parts - The number of parts the file was split in.
      totalSize - The total size of the original file.
  • Method Details