what-the-bank/sources/com/google/android/gms/vision/clearcut/zzb.java

23 lines
610 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.vision.clearcut;
/* loaded from: classes2.dex */
public final class zzb {
private final Object lock = new Object();
private long zzbv = Long.MIN_VALUE;
private final long zzbu = Math.round(30000.0d);
public zzb(double d) {
}
public final boolean tryAcquire() {
synchronized (this.lock) {
long currentTimeMillis = System.currentTimeMillis();
if (this.zzbv + this.zzbu > currentTimeMillis) {
return false;
}
this.zzbv = currentTimeMillis;
return true;
}
}
}