public final class io.reactivex.internal.schedulers.RxThreadFactory extends java.util.concurrent.atomic.AtomicLong implements java.util.concurrent.ThreadFactory
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.schedulers.RxThreadFactory
super_class: java.util.concurrent.atomic.AtomicLong
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -7789753024099756196
final java.lang.String prefix;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final int priority;
descriptor: I
flags: (0x0010) ACC_FINAL
final boolean nonBlocking;
descriptor: Z
flags: (0x0010) ACC_FINAL
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_5
iconst_0
invokespecial io.reactivex.internal.schedulers.RxThreadFactory.<init>:(Ljava/lang/String;IZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/schedulers/RxThreadFactory;
0 2 1 prefix Ljava/lang/String;
MethodParameters:
Name Flags
prefix
public void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
iconst_0
invokespecial io.reactivex.internal.schedulers.RxThreadFactory.<init>:(Ljava/lang/String;IZ)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/schedulers/RxThreadFactory;
0 2 1 prefix Ljava/lang/String;
0 2 2 priority I
MethodParameters:
Name Flags
prefix
priority
public void <init>(java.lang.String, int, boolean);
descriptor: (Ljava/lang/String;IZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.schedulers.RxThreadFactory.prefix:Ljava/lang/String;
2: aload 0
iload 2
putfield io.reactivex.internal.schedulers.RxThreadFactory.priority:I
3: aload 0
iload 3
putfield io.reactivex.internal.schedulers.RxThreadFactory.nonBlocking:Z
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/schedulers/RxThreadFactory;
0 5 1 prefix Ljava/lang/String;
0 5 2 priority I
0 5 3 nonBlocking Z
MethodParameters:
Name Flags
prefix
priority
nonBlocking
public java.lang.Thread newThread(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Ljava/lang/Thread;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
aload 0
getfield io.reactivex.internal.schedulers.RxThreadFactory.prefix:Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
invokevirtual io.reactivex.internal.schedulers.RxThreadFactory.incrementAndGet:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
astore 2
start local 2 1: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 2: aload 0
getfield io.reactivex.internal.schedulers.RxThreadFactory.nonBlocking:Z
ifeq 3
new io.reactivex.internal.schedulers.RxThreadFactory$RxCustomThread
dup
aload 1
aload 3
invokespecial io.reactivex.internal.schedulers.RxThreadFactory$RxCustomThread.<init>:(Ljava/lang/Runnable;Ljava/lang/String;)V
goto 4
StackMap locals: java.lang.StringBuilder java.lang.String
StackMap stack:
3: new java.lang.Thread
dup
aload 1
aload 3
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;Ljava/lang/String;)V
StackMap locals:
StackMap stack: java.lang.Thread
4: astore 4
start local 4 5: aload 4
aload 0
getfield io.reactivex.internal.schedulers.RxThreadFactory.priority:I
invokevirtual java.lang.Thread.setPriority:(I)V
6: aload 4
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
7: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/schedulers/RxThreadFactory;
0 8 1 r Ljava/lang/Runnable;
1 8 2 nameBuilder Ljava/lang/StringBuilder;
2 8 3 name Ljava/lang/String;
5 8 4 t Ljava/lang/Thread;
MethodParameters:
Name Flags
r
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "RxThreadFactory["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.reactivex.internal.schedulers.RxThreadFactory.prefix:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/schedulers/RxThreadFactory;
}
SourceFile: "RxThreadFactory.java"
NestMembers:
io.reactivex.internal.schedulers.RxThreadFactory$RxCustomThread
InnerClasses:
final RxCustomThread = io.reactivex.internal.schedulers.RxThreadFactory$RxCustomThread of io.reactivex.internal.schedulers.RxThreadFactory