public static class TrafficSummary.Builder<T> extends Object
Modifier and Type | Method and Description |
---|---|
TrafficSummary<T> |
build() |
TrafficSummary.Builder<T> |
withBytes(long bytesIn,
long bytesOut) |
TrafficSummary.Builder<T> |
withBytesFrom(TrafficSummary<?> source) |
TrafficSummary.Builder<T> |
withBytesIn(long bytesIn) |
TrafficSummary.Builder<T> |
withBytesOut(long bytesOut) |
TrafficSummary.Builder<T> |
withEntity(T entity) |
public TrafficSummary.Builder<T> withEntity(T entity)
public TrafficSummary.Builder<T> withBytesIn(long bytesIn)
public TrafficSummary.Builder<T> withBytesOut(long bytesOut)
public TrafficSummary.Builder<T> withBytes(long bytesIn, long bytesOut)
public TrafficSummary.Builder<T> withBytesFrom(TrafficSummary<?> source)
public TrafficSummary<T> build()
Copyright © 2021. All rights reserved.