109 lines
2.8 KiB
Smali
109 lines
2.8 KiB
Smali
.class public final Lcom/nytimes/android/external/cache/AbstractFuture$i;
|
|
.super Ljava/lang/Object;
|
|
.source "AbstractFuture.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/nytimes/android/external/cache/AbstractFuture;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "i"
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final c:Lcom/nytimes/android/external/cache/AbstractFuture$i;
|
|
|
|
|
|
# instance fields
|
|
.field public volatile a:Ljava/lang/Thread;
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public volatile b:Lcom/nytimes/android/external/cache/AbstractFuture$i;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/nytimes/android/external/cache/AbstractFuture$i;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lcom/nytimes/android/external/cache/AbstractFuture$i;-><init>(Z)V
|
|
|
|
sput-object v0, Lcom/nytimes/android/external/cache/AbstractFuture$i;->c:Lcom/nytimes/android/external/cache/AbstractFuture$i;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
.line 2
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 3
|
|
invoke-static {}, Lcom/nytimes/android/external/cache/AbstractFuture;->a()Lcom/nytimes/android/external/cache/AbstractFuture$b;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, p0, v1}, Lcom/nytimes/android/external/cache/AbstractFuture$b;->e(Lcom/nytimes/android/external/cache/AbstractFuture$i;Ljava/lang/Thread;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Z)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Lcom/nytimes/android/external/cache/AbstractFuture$i;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-static {}, Lcom/nytimes/android/external/cache/AbstractFuture;->a()Lcom/nytimes/android/external/cache/AbstractFuture$b;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p0, p1}, Lcom/nytimes/android/external/cache/AbstractFuture$b;->d(Lcom/nytimes/android/external/cache/AbstractFuture$i;Lcom/nytimes/android/external/cache/AbstractFuture$i;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/nytimes/android/external/cache/AbstractFuture$i;->a:Ljava/lang/Thread;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 2
|
|
iput-object v1, p0, Lcom/nytimes/android/external/cache/AbstractFuture$i;->a:Ljava/lang/Thread;
|
|
|
|
.line 3
|
|
invoke-static {v0}, Ljava/util/concurrent/locks/LockSupport;->unpark(Ljava/lang/Thread;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|