Made another method in TrafficCounter package-private
This commit is contained in:
parent
5442ca3600
commit
079252700b
|
@ -238,7 +238,7 @@ public class TrafficCounter {
|
|||
*
|
||||
* @param newLastTime
|
||||
*/
|
||||
protected void resetAccounting(long newLastTime) {
|
||||
void resetAccounting(long newLastTime) {
|
||||
synchronized (lastTime) {
|
||||
long interval = newLastTime - lastTime.getAndSet(newLastTime);
|
||||
if (interval == 0) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user