Modifier and Type | Field and Description |
---|---|
AtomicLong |
bytesDown |
AtomicLong |
bytesUp |
AtomicLong |
elapsedTime |
Constructor and Description |
---|
SocketStats(long elapsedTime,
long bytesDown,
long bytesUp) |
SocketStats(SocketStats that) |
Modifier and Type | Method and Description |
---|---|
void |
accumulate(long elapsedTime,
int bytesDown,
int bytesUp) |
void |
accumulate(SocketStats that) |
public final AtomicLong elapsedTime
public final AtomicLong bytesDown
public final AtomicLong bytesUp
public SocketStats(SocketStats that)
public SocketStats(long elapsedTime, long bytesDown, long bytesUp)
public void accumulate(long elapsedTime, int bytesDown, int bytesUp)
public void accumulate(SocketStats that)
Copyright © 2016. All rights reserved.