- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
23 lines
558 B
Java
23 lines
558 B
Java
package okhttp3.internal.connection;
|
|
|
|
import java.util.LinkedHashSet;
|
|
import java.util.Set;
|
|
import okhttp3.Route;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public final class RouteDatabase {
|
|
public final Set failedRoutes = new LinkedHashSet();
|
|
|
|
public synchronized void failed(Route route) {
|
|
this.failedRoutes.add(route);
|
|
}
|
|
|
|
public synchronized void connected(Route route) {
|
|
this.failedRoutes.remove(route);
|
|
}
|
|
|
|
public synchronized boolean shouldPostpone(Route route) {
|
|
return this.failedRoutes.contains(route);
|
|
}
|
|
}
|