Class TransferStatistics

java.lang.Object
io.bdeploy.bhive.op.remote.TransferStatistics

public class TransferStatistics extends Object
Holds information about a transfer (push/fetch) operation.
  • Field Details

    • sumManifests

      public long sumManifests
    • sumTrees

      public long sumTrees
    • sumMissingTrees

      public long sumMissingTrees
    • sumMissingObjects

      public long sumMissingObjects
    • transferSize

      public long transferSize
      Number of bytes that have been transfered
    • duration

      public long duration
      Total duration in milliseconds
  • Constructor Details

    • TransferStatistics

      public TransferStatistics()
  • Method Details

    • toResult

      public DataResult toResult(DataResult result)
      Appends the statistics to the given result
    • toLogString

      public Object toLogString()
      Returns a string with the all statistics in a human readable format.