final class org.apache.cassandra.hints.HintsDispatchTrigger implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.hints.HintsDispatchTrigger
super_class: java.lang.Object
{
private final org.apache.cassandra.hints.HintsCatalog catalog;
descriptor: Lorg/apache/cassandra/hints/HintsCatalog;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.hints.HintsWriteExecutor writeExecutor;
descriptor: Lorg/apache/cassandra/hints/HintsWriteExecutor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.hints.HintsDispatchExecutor dispatchExecutor;
descriptor: Lorg/apache/cassandra/hints/HintsDispatchExecutor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicBoolean isPaused;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(org.apache.cassandra.hints.HintsCatalog, org.apache.cassandra.hints.HintsWriteExecutor, org.apache.cassandra.hints.HintsDispatchExecutor, java.util.concurrent.atomic.AtomicBoolean);
descriptor: (Lorg/apache/cassandra/hints/HintsCatalog;Lorg/apache/cassandra/hints/HintsWriteExecutor;Lorg/apache/cassandra/hints/HintsDispatchExecutor;Ljava/util/concurrent/atomic/AtomicBoolean;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.hints.HintsDispatchTrigger.catalog:Lorg/apache/cassandra/hints/HintsCatalog;
2: aload 0
aload 2
putfield org.apache.cassandra.hints.HintsDispatchTrigger.writeExecutor:Lorg/apache/cassandra/hints/HintsWriteExecutor;
3: aload 0
aload 3
putfield org.apache.cassandra.hints.HintsDispatchTrigger.dispatchExecutor:Lorg/apache/cassandra/hints/HintsDispatchExecutor;
4: aload 0
aload 4
putfield org.apache.cassandra.hints.HintsDispatchTrigger.isPaused:Ljava/util/concurrent/atomic/AtomicBoolean;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/hints/HintsDispatchTrigger;
0 6 1 catalog Lorg/apache/cassandra/hints/HintsCatalog;
0 6 2 writeExecutor Lorg/apache/cassandra/hints/HintsWriteExecutor;
0 6 3 dispatchExecutor Lorg/apache/cassandra/hints/HintsDispatchExecutor;
0 6 4 isPaused Ljava/util/concurrent/atomic/AtomicBoolean;
MethodParameters:
Name Flags
catalog
writeExecutor
dispatchExecutor
isPaused
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.hints.HintsDispatchTrigger.isPaused:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.hints.HintsDispatchTrigger.catalog:Lorg/apache/cassandra/hints/HintsCatalog;
invokevirtual org.apache.cassandra.hints.HintsCatalog.stores:()Ljava/util/stream/Stream;
3: aload 0
invokedynamic test(Lorg/apache/cassandra/hints/HintsDispatchTrigger;)Ljava/util/function/Predicate;
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;)Z
org/apache/cassandra/hints/HintsDispatchTrigger.lambda$0(Lorg/apache/cassandra/hints/HintsStore;)Z (7)
(Lorg/apache/cassandra/hints/HintsStore;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
4: invokedynamic test()Ljava/util/function/Predicate;
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;)Z
org/apache/cassandra/hints/HintsStore.isLive()Z (5)
(Lorg/apache/cassandra/hints/HintsStore;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
5: invokedynamic test()Ljava/util/function/Predicate;
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;)Z
org/apache/cassandra/hints/HintsDispatchTrigger.lambda$2(Lorg/apache/cassandra/hints/HintsStore;)Z (6)
(Lorg/apache/cassandra/hints/HintsStore;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
6: invokedynamic test()Ljava/util/function/Predicate;
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;)Z
org/apache/cassandra/hints/HintsDispatchTrigger.lambda$3(Lorg/apache/cassandra/hints/HintsStore;)Z (6)
(Lorg/apache/cassandra/hints/HintsStore;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
7: aload 0
invokedynamic accept(Lorg/apache/cassandra/hints/HintsDispatchTrigger;)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
org/apache/cassandra/hints/HintsDispatchTrigger.schedule(Lorg/apache/cassandra/hints/HintsStore;)V (7)
(Lorg/apache/cassandra/hints/HintsStore;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/hints/HintsDispatchTrigger;
private void schedule(org.apache.cassandra.hints.HintsStore);
descriptor: (Lorg/apache/cassandra/hints/HintsStore;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.cassandra.hints.HintsStore.hasFiles:()Z
ifeq 2
1: aload 0
getfield org.apache.cassandra.hints.HintsDispatchTrigger.dispatchExecutor:Lorg/apache/cassandra/hints/HintsDispatchExecutor;
aload 1
invokevirtual org.apache.cassandra.hints.HintsDispatchExecutor.dispatch:(Lorg/apache/cassandra/hints/HintsStore;)Ljava/util/concurrent/Future;
pop
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.hints.HintsStore.isWriting:()Z
ifeq 4
3: aload 0
getfield org.apache.cassandra.hints.HintsDispatchTrigger.writeExecutor:Lorg/apache/cassandra/hints/HintsWriteExecutor;
aload 1
invokevirtual org.apache.cassandra.hints.HintsWriteExecutor.closeWriter:(Lorg/apache/cassandra/hints/HintsStore;)Ljava/util/concurrent/Future;
pop
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/hints/HintsDispatchTrigger;
0 5 1 store Lorg/apache/cassandra/hints/HintsStore;
MethodParameters:
Name Flags
store
private boolean isScheduled(org.apache.cassandra.hints.HintsStore);
descriptor: (Lorg/apache/cassandra/hints/HintsStore;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.hints.HintsDispatchTrigger.dispatchExecutor:Lorg/apache/cassandra/hints/HintsDispatchExecutor;
aload 1
invokevirtual org.apache.cassandra.hints.HintsDispatchExecutor.isScheduled:(Lorg/apache/cassandra/hints/HintsStore;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/hints/HintsDispatchTrigger;
0 1 1 store Lorg/apache/cassandra/hints/HintsStore;
MethodParameters:
Name Flags
store
private boolean lambda$0(org.apache.cassandra.hints.HintsStore);
descriptor: (Lorg/apache/cassandra/hints/HintsStore;)Z
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.cassandra.hints.HintsDispatchTrigger.isScheduled:(Lorg/apache/cassandra/hints/HintsStore;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/hints/HintsDispatchTrigger;
0 3 1 store Lorg/apache/cassandra/hints/HintsStore;
private static boolean lambda$2(org.apache.cassandra.hints.HintsStore);
descriptor: (Lorg/apache/cassandra/hints/HintsStore;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.hints.HintsStore.isWriting:()Z
ifne 1
aload 0
invokevirtual org.apache.cassandra.hints.HintsStore.hasFiles:()Z
ifne 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 store Lorg/apache/cassandra/hints/HintsStore;
private static boolean lambda$3(org.apache.cassandra.hints.HintsStore);
descriptor: (Lorg/apache/cassandra/hints/HintsStore;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
getstatic org.apache.cassandra.gms.Gossiper.instance:Lorg/apache/cassandra/gms/Gossiper;
aload 0
invokevirtual org.apache.cassandra.hints.HintsStore.address:()Ljava/net/InetAddress;
invokevirtual org.apache.cassandra.gms.Gossiper.getSchemaVersion:(Ljava/net/InetAddress;)Ljava/util/UUID;
invokevirtual org.apache.cassandra.config.Schema.isSameVersion:(Ljava/util/UUID;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 store Lorg/apache/cassandra/hints/HintsStore;
}
SourceFile: "HintsDispatchTrigger.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles