what-the-bank/sources/io/grpc/internal/TimeProvider.java

16 lines
477 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
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();
}