16 lines
477 B
Java
16 lines
477 B
Java
package io.grpc.internal;
|
|
|
|
import java.util.concurrent.TimeUnit;
|
|
|
|
/* loaded from: classes6.dex */
|
|
public interface TimeProvider {
|
|
public static final TimeProvider SYSTEM_TIME_PROVIDER = new TimeProvider() { // from class: io.grpc.internal.TimeProvider.1
|
|
@Override // io.grpc.internal.TimeProvider
|
|
public long currentTimeNanos() {
|
|
return TimeUnit.MILLISECONDS.toNanos(System.currentTimeMillis());
|
|
}
|
|
};
|
|
|
|
long currentTimeNanos();
|
|
}
|