public interface BandwidthHistory
A bandwidth history is not a descriptor type of its own but usually
part of extra-info descriptors (ExtraInfoDescriptor
) or server
descriptors (ServerDescriptor
).
Modifier and Type | Method and Description |
---|---|
java.util.SortedMap<java.lang.Long,java.lang.Long> |
getBandwidthValues()
Return the (possibly empty) bandwidth history with map keys being
times in milliseconds since the epoch when intervals end and map
values being number of bytes used in the interval, ordered from
oldest to newest interval.
|
long |
getHistoryEndMillis()
Return the time in milliseconds since the epoch when the most recent
interval ends.
|
long |
getIntervalLength()
Return the interval length in seconds.
|
java.lang.String |
getLine()
Return the original bandwidth history line as contained in the
descriptor, possibly prefixed with
"opt " . |
java.lang.String getLine()
"opt "
.long getHistoryEndMillis()
long getIntervalLength()
java.util.SortedMap<java.lang.Long,java.lang.Long> getBandwidthValues()