123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- .class public final Lokhttp3/internal/connection/RouteDatabase;
- .super Ljava/lang/Object;
- .source ""
- # 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 <init>()V
- .locals 1
- invoke-direct {p0}, Ljava/lang/Object;-><init>()V
- new-instance v0, Ljava/util/LinkedHashSet;
- invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
- iput-object v0, p0, Lokhttp3/internal/connection/RouteDatabase;->failedRoutes:Ljava/util/Set;
- return-void
- .end method
- # virtual methods
- .method public declared-synchronized connected(Lokhttp3/Route;)V
- .locals 1
- monitor-enter p0
- :try_start_0
- 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_0
- .catchall {:try_start_0 .. :try_end_0} :catchall_0
- monitor-exit p0
- return-void
- :catchall_0
- move-exception p1
- monitor-exit p0
- throw p1
- .end method
- .method public declared-synchronized failed(Lokhttp3/Route;)V
- .locals 1
- monitor-enter p0
- :try_start_0
- 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_0
- .catchall {:try_start_0 .. :try_end_0} :catchall_0
- monitor-exit p0
- return-void
- :catchall_0
- move-exception p1
- monitor-exit p0
- throw p1
- .end method
- .method public declared-synchronized shouldPostpone(Lokhttp3/Route;)Z
- .locals 1
- monitor-enter p0
- :try_start_0
- 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_0
- .catchall {:try_start_0 .. :try_end_0} :catchall_0
- monitor-exit p0
- return p1
- :catchall_0
- move-exception p1
- monitor-exit p0
- throw p1
- .end method
|