Class TransferPerformance.TransferPerformanceBuilder

java.lang.Object
org.ivoa.dm.execution.TransferPerformance.TransferPerformanceBuilder
Enclosing class:
TransferPerformance

public static class TransferPerformance.TransferPerformanceBuilder extends Object
A builder class for TransferPerformance, mainly for use in the functional builder pattern.
  • Field Details

    • fromLocation

      public PhysicalLocation fromLocation
      the source location of the data transfer.
    • throughput

      public Double throughput
      the throughput of the data transfer in bytes/second.
    • latency

      public Double latency
      the latency of the data transfer in seconds.
    • errorRate

      public Double errorRate
      the error rate of the data transfer as a percentage.
    • timestamp

      public Date timestamp
      the timestamp of the performance measurement.
  • Constructor Details

    • TransferPerformanceBuilder

      public TransferPerformanceBuilder()
  • Method Details

    • create

      public TransferPerformance create()
      create a TransferPerformance from this builder.
      Returns:
      an object initialized from the builder.