12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- .class final Lio/reactivex/internal/schedulers/SchedulerPoolFactory$1;
- .super Ljava/lang/Object;
- .source "SchedulerPoolFactory.java"
- # interfaces
- .implements Ljava/lang/Runnable;
- # annotations
- .annotation system Ldalvik/annotation/EnclosingMethod;
- value = Lio/reactivex/internal/schedulers/SchedulerPoolFactory;->start()V
- .end annotation
- .annotation system Ldalvik/annotation/InnerClass;
- accessFlags = 0x8
- name = null
- .end annotation
- # direct methods
- .method constructor <init>()V
- .locals 0
- .line 68
- invoke-direct {p0}, Ljava/lang/Object;-><init>()V
- return-void
- .end method
- # virtual methods
- .method public run()V
- .locals 3
- .line 72
- :try_start_0
- new-instance v0, Ljava/util/ArrayList;
- sget-object v1, Lio/reactivex/internal/schedulers/SchedulerPoolFactory;->POOLS:Ljava/util/Map;
- invoke-interface {v1}, Ljava/util/Map;->keySet()Ljava/util/Set;
- move-result-object v1
- invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
- invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
- move-result-object v0
- :goto_0
- invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
- move-result v1
- if-eqz v1, :cond_1
- invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
- move-result-object v1
- check-cast v1, Ljava/util/concurrent/ScheduledThreadPoolExecutor;
- .line 73
- invoke-virtual {v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->isShutdown()Z
- move-result v2
- if-eqz v2, :cond_0
- .line 74
- sget-object v2, Lio/reactivex/internal/schedulers/SchedulerPoolFactory;->POOLS:Ljava/util/Map;
- invoke-interface {v2, v1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
- goto :goto_0
- .line 76
- :cond_0
- invoke-virtual {v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->purge()V
- :try_end_0
- .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
- goto :goto_0
- :catch_0
- move-exception v0
- .line 81
- invoke-static {v0}, Lio/reactivex/plugins/RxJavaPlugins;->onError(Ljava/lang/Throwable;)V
- :cond_1
- return-void
- .end method
|