public class io.vertx.rx.java.ContextScheduler$ContextWorker extends rx.Scheduler$Worker
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.rx.java.ContextScheduler$ContextWorker
super_class: rx.Scheduler$Worker
{
private final java.util.concurrent.ConcurrentHashMap<io.vertx.rx.java.ContextScheduler$ContextWorker$TimedAction, java.lang.Object> actions;
descriptor: Ljava/util/concurrent/ConcurrentHashMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentHashMap<Lio/vertx/rx/java/ContextScheduler$ContextWorker$TimedAction;Ljava/lang/Object;>;
private final java.util.concurrent.atomic.AtomicBoolean cancelled;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final io.vertx.rx.java.ContextScheduler this$0;
descriptor: Lio/vertx/rx/java/ContextScheduler;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(io.vertx.rx.java.ContextScheduler);
descriptor: (Lio/vertx/rx/java/ContextScheduler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield io.vertx.rx.java.ContextScheduler$ContextWorker.this$0:Lio/vertx/rx/java/ContextScheduler;
aload 0
invokespecial rx.Scheduler$Worker.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield io.vertx.rx.java.ContextScheduler$ContextWorker.actions:Ljava/util/concurrent/ConcurrentHashMap;
2: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
putfield io.vertx.rx.java.ContextScheduler$ContextWorker.cancelled:Ljava/util/concurrent/atomic/AtomicBoolean;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/rx/java/ContextScheduler$ContextWorker;
MethodParameters:
Name Flags
this$0 final
public int countActions();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.rx.java.ContextScheduler$ContextWorker.actions:Ljava/util/concurrent/ConcurrentHashMap;
invokevirtual java.util.concurrent.ConcurrentHashMap.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/rx/java/ContextScheduler$ContextWorker;
public rx.Subscription schedule(rx.functions.Action0);
descriptor: (Lrx/functions/Action0;)Lrx/Subscription;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
lconst_0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual io.vertx.rx.java.ContextScheduler$ContextWorker.schedule:(Lrx/functions/Action0;JLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/rx/java/ContextScheduler$ContextWorker;
0 1 1 action Lrx/functions/Action0;
MethodParameters:
Name Flags
action
public rx.Subscription schedule(rx.functions.Action0, long, java.util.concurrent.TimeUnit);
descriptor: (Lrx/functions/Action0;JLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
getfield io.vertx.rx.java.ContextScheduler$ContextWorker.this$0:Lio/vertx/rx/java/ContextScheduler;
getfield io.vertx.rx.java.ContextScheduler.schedulersHook:Lrx/plugins/RxJavaSchedulersHook;
aload 1
invokevirtual rx.plugins.RxJavaSchedulersHook.onSchedule:(Lrx/functions/Action0;)Lrx/functions/Action0;
astore 1
1: aload 4
lload 2
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
lstore 5
start local 5 2: new io.vertx.rx.java.ContextScheduler$ContextWorker$TimedAction
dup
aload 0
aload 1
lconst_0
invokespecial io.vertx.rx.java.ContextScheduler$ContextWorker$TimedAction.<init>:(Lio/vertx/rx/java/ContextScheduler$ContextWorker;Lrx/functions/Action0;J)V
astore 7
start local 7 3: aload 0
getfield io.vertx.rx.java.ContextScheduler$ContextWorker.actions:Ljava/util/concurrent/ConcurrentHashMap;
aload 7
getstatic io.vertx.rx.java.ContextScheduler.DUMB:Ljava/lang/Object;
invokevirtual java.util.concurrent.ConcurrentHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 7
lload 5
invokevirtual io.vertx.rx.java.ContextScheduler$ContextWorker$TimedAction.schedule:(J)V
5: aload 7
areturn
end local 7 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/rx/java/ContextScheduler$ContextWorker;
0 6 1 action Lrx/functions/Action0;
0 6 2 delayTime J
0 6 4 unit Ljava/util/concurrent/TimeUnit;
2 6 5 delayMillis J
3 6 7 timed Lio/vertx/rx/java/ContextScheduler$ContextWorker$TimedAction;
MethodParameters:
Name Flags
action
delayTime
unit
public rx.Subscription schedulePeriodically(rx.functions.Action0, long, long, java.util.concurrent.TimeUnit);
descriptor: (Lrx/functions/Action0;JJLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 6 0: aload 0
getfield io.vertx.rx.java.ContextScheduler$ContextWorker.this$0:Lio/vertx/rx/java/ContextScheduler;
getfield io.vertx.rx.java.ContextScheduler.schedulersHook:Lrx/plugins/RxJavaSchedulersHook;
aload 1
invokevirtual rx.plugins.RxJavaSchedulersHook.onSchedule:(Lrx/functions/Action0;)Lrx/functions/Action0;
astore 1
1: aload 6
lload 2
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
lstore 7
start local 7 2: new io.vertx.rx.java.ContextScheduler$ContextWorker$TimedAction
dup
aload 0
aload 1
aload 6
lload 4
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
invokespecial io.vertx.rx.java.ContextScheduler$ContextWorker$TimedAction.<init>:(Lio/vertx/rx/java/ContextScheduler$ContextWorker;Lrx/functions/Action0;J)V
astore 9
start local 9 3: aload 0
getfield io.vertx.rx.java.ContextScheduler$ContextWorker.actions:Ljava/util/concurrent/ConcurrentHashMap;
aload 9
getstatic io.vertx.rx.java.ContextScheduler.DUMB:Ljava/lang/Object;
invokevirtual java.util.concurrent.ConcurrentHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 9
lload 7
invokevirtual io.vertx.rx.java.ContextScheduler$ContextWorker$TimedAction.schedule:(J)V
5: aload 9
areturn
end local 9 end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/rx/java/ContextScheduler$ContextWorker;
0 6 1 action Lrx/functions/Action0;
0 6 2 initialDelay J
0 6 4 period J
0 6 6 unit Ljava/util/concurrent/TimeUnit;
2 6 7 delayMillis J
3 6 9 timed Lio/vertx/rx/java/ContextScheduler$ContextWorker$TimedAction;
MethodParameters:
Name Flags
action
initialDelay
period
unit
public void unsubscribe();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.rx.java.ContextScheduler$ContextWorker.cancelled:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 2
1: aload 0
getfield io.vertx.rx.java.ContextScheduler$ContextWorker.actions:Ljava/util/concurrent/ConcurrentHashMap;
invokevirtual java.util.concurrent.ConcurrentHashMap.keySet:()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/rx/java/ContextScheduler$ContextWorker$TimedAction.unsubscribe()V (5)
(Lio/vertx/rx/java/ContextScheduler$ContextWorker$TimedAction;)V
invokevirtual java.util.concurrent.ConcurrentHashMap$KeySetView.forEach:(Ljava/util/function/Consumer;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/rx/java/ContextScheduler$ContextWorker;
public boolean isUnsubscribed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.rx.java.ContextScheduler$ContextWorker.cancelled:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/rx/java/ContextScheduler$ContextWorker;
static io.vertx.rx.java.ContextScheduler access$0(io.vertx.rx.java.ContextScheduler$ContextWorker);
descriptor: (Lio/vertx/rx/java/ContextScheduler$ContextWorker;)Lio/vertx/rx/java/ContextScheduler;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield io.vertx.rx.java.ContextScheduler$ContextWorker.this$0:Lio/vertx/rx/java/ContextScheduler;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ContextScheduler.java"
NestHost: io.vertx.rx.java.ContextScheduler
InnerClasses:
public ContextWorker = io.vertx.rx.java.ContextScheduler$ContextWorker of io.vertx.rx.java.ContextScheduler
TimedAction = io.vertx.rx.java.ContextScheduler$ContextWorker$TimedAction of io.vertx.rx.java.ContextScheduler$ContextWorker
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public KeySetView = java.util.concurrent.ConcurrentHashMap$KeySetView of java.util.concurrent.ConcurrentHashMap
public abstract Worker = rx.Scheduler$Worker of rx.Scheduler