public class TrafficSummary<T> extends Object
Constructor and Description |
---|
TrafficSummary(T entity) |
Modifier and Type | Method and Description |
---|---|
long |
getBytesIn() |
long |
getBytesOut() |
T |
getEntity() |
void |
setBytesIn(long bytesIn) |
void |
setBytesOut(long bytesOut) |
TrafficSummary<T> |
withBytesFrom(TrafficSummary<?> source) |
public TrafficSummary(T entity)
public T getEntity()
public long getBytesIn()
public void setBytesIn(long bytesIn)
public long getBytesOut()
public void setBytesOut(long bytesOut)
public TrafficSummary<T> withBytesFrom(TrafficSummary<?> source)
Copyright © 2019. All rights reserved.