Package org.ivoa.dm.execution
Class TransferPerformance.TransferPerformanceBuilder
java.lang.Object
org.ivoa.dm.execution.TransferPerformance.TransferPerformanceBuilder
- Enclosing class:
- TransferPerformance
A builder class for TransferPerformance, mainly for use in the functional builder pattern.
-
Field Summary
FieldsModifier and TypeFieldDescriptionthe error rate of the data transfer as a percentage.the source location of the data transfer.the latency of the data transfer in seconds.the throughput of the data transfer in bytes/second.the timestamp of the performance measurement. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
fromLocation
the source location of the data transfer. -
throughput
the throughput of the data transfer in bytes/second. -
latency
the latency of the data transfer in seconds. -
errorRate
the error rate of the data transfer as a percentage. -
timestamp
the timestamp of the performance measurement.
-
-
Constructor Details
-
TransferPerformanceBuilder
public TransferPerformanceBuilder()
-
-
Method Details
-
create
create a TransferPerformance from this builder.- Returns:
- an object initialized from the builder.
-