19 lines
465 B
Java
19 lines
465 B
Java
package io.grpc.internal;
|
|
|
|
import java.util.concurrent.atomic.AtomicLong;
|
|
|
|
/* loaded from: classes6.dex */
|
|
final class AtomicLongCounter implements LongCounter {
|
|
private final AtomicLong counter = new AtomicLong();
|
|
|
|
@Override // io.grpc.internal.LongCounter
|
|
public final void add(long j) {
|
|
this.counter.getAndAdd(j);
|
|
}
|
|
|
|
@Override // io.grpc.internal.LongCounter
|
|
public final long value() {
|
|
return this.counter.get();
|
|
}
|
|
}
|