.class public final Lokhttp3/internal/connection/RouteDatabase; .super Ljava/lang/Object; .source "RouteDatabase.kt" # annotations .annotation system Ldalvik/annotation/SourceDebugExtension; value = "SMAP\nRouteDatabase.kt\nKotlin\n*S Kotlin\n*F\n+ 1 RouteDatabase.kt\nokhttp3/internal/connection/RouteDatabase\n*L\n1#1,42:1\n*E\n" .end annotation .annotation runtime Lkotlin/Metadata; bv = { 0x1, 0x0, 0x3 } d1 = { "\u0000$\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010#\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\u0008\u0004\n\u0002\u0010\u000b\n\u0000\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\u000e\u0010\u0006\u001a\u00020\u00072\u0006\u0010\u0008\u001a\u00020\u0005J\u000e\u0010\t\u001a\u00020\u00072\u0006\u0010\n\u001a\u00020\u0005J\u000e\u0010\u000b\u001a\u00020\u000c2\u0006\u0010\u0008\u001a\u00020\u0005R\u0014\u0010\u0003\u001a\u0008\u0012\u0004\u0012\u00020\u00050\u0004X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\r" } d2 = { "Lokhttp3/internal/connection/RouteDatabase;", "", "()V", "failedRoutes", "", "Lokhttp3/Route;", "connected", "", "route", "failed", "failedRoute", "shouldPostpone", "", "okhttp" } k = 0x1 mv = { 0x1, 0x1, 0x10 } .end annotation # instance fields .field private final failedRoutes:Ljava/util/Set; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Set<", "Lokhttp3/Route;", ">;" } .end annotation .end field # direct methods .method public constructor ()V .registers 2 .line 26 invoke-direct {p0}, Ljava/lang/Object;->()V .line 27 new-instance v0, Ljava/util/LinkedHashSet; invoke-direct {v0}, Ljava/util/LinkedHashSet;->()V check-cast v0, Ljava/util/Set; iput-object v0, p0, Lokhttp3/internal/connection/RouteDatabase;->failedRoutes:Ljava/util/Set; return-void .end method # virtual methods .method public final declared-synchronized connected(Lokhttp3/Route;)V .registers 3 monitor-enter p0 :try_start_1 const-string v0, "route" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V .line 36 iget-object v0, p0, Lokhttp3/internal/connection/RouteDatabase;->failedRoutes:Ljava/util/Set; invoke-interface {v0, p1}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z :try_end_b .catchall {:try_start_1 .. :try_end_b} :catchall_d .line 37 monitor-exit p0 return-void :catchall_d move-exception p1 :try_start_e monitor-exit p0 :try_end_f .catchall {:try_start_e .. :try_end_f} :catchall_d throw p1 .end method .method public final declared-synchronized failed(Lokhttp3/Route;)V .registers 3 monitor-enter p0 :try_start_1 const-string v0, "failedRoute" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V .line 31 iget-object v0, p0, Lokhttp3/internal/connection/RouteDatabase;->failedRoutes:Ljava/util/Set; invoke-interface {v0, p1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z :try_end_b .catchall {:try_start_1 .. :try_end_b} :catchall_d .line 32 monitor-exit p0 return-void :catchall_d move-exception p1 :try_start_e monitor-exit p0 :try_end_f .catchall {:try_start_e .. :try_end_f} :catchall_d throw p1 .end method .method public final declared-synchronized shouldPostpone(Lokhttp3/Route;)Z .registers 3 monitor-enter p0 :try_start_1 const-string v0, "route" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V .line 40 iget-object v0, p0, Lokhttp3/internal/connection/RouteDatabase;->failedRoutes:Ljava/util/Set; invoke-interface {v0, p1}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z move-result p1 :try_end_c .catchall {:try_start_1 .. :try_end_c} :catchall_e monitor-exit p0 return p1 :catchall_e move-exception p1 :try_start_f monitor-exit p0 :try_end_10 .catchall {:try_start_f .. :try_end_10} :catchall_e throw p1 .end method