final class org.apache.cassandra.hints.HintsDispatcher implements java.lang.AutoCloseable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.hints.HintsDispatcher
super_class: java.lang.Object
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.apache.cassandra.hints.HintsReader reader;
descriptor: Lorg/apache/cassandra/hints/HintsReader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.UUID hostId;
descriptor: Ljava/util/UUID;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.net.InetAddress address;
descriptor: Ljava/net/InetAddress;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int messagingVersion;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.function.BooleanSupplier abortRequested;
descriptor: Ljava/util/function/BooleanSupplier;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.apache.cassandra.hints.InputPosition currentPagePosition;
descriptor: Lorg/apache/cassandra/hints/InputPosition;
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$org$apache$cassandra$hints$HintsDispatcher$Callback$Outcome;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/hints/HintsDispatcher;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.hints.HintsDispatcher.logger:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(org.apache.cassandra.hints.HintsReader, java.util.UUID, java.net.InetAddress, int, java.util.function.BooleanSupplier);
descriptor: (Lorg/apache/cassandra/hints/HintsReader;Ljava/util/UUID;Ljava/net/InetAddress;ILjava/util/function/BooleanSupplier;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.apache.cassandra.hints.HintsDispatcher.currentPagePosition:Lorg/apache/cassandra/hints/InputPosition;
2: aload 0
aload 1
putfield org.apache.cassandra.hints.HintsDispatcher.reader:Lorg/apache/cassandra/hints/HintsReader;
3: aload 0
aload 2
putfield org.apache.cassandra.hints.HintsDispatcher.hostId:Ljava/util/UUID;
4: aload 0
aload 3
putfield org.apache.cassandra.hints.HintsDispatcher.address:Ljava/net/InetAddress;
5: aload 0
iload 4
putfield org.apache.cassandra.hints.HintsDispatcher.messagingVersion:I
6: aload 0
aload 5
putfield org.apache.cassandra.hints.HintsDispatcher.abortRequested:Ljava/util/function/BooleanSupplier;
7: return
end local 5 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 Lorg/apache/cassandra/hints/HintsDispatcher;
0 8 1 reader Lorg/apache/cassandra/hints/HintsReader;
0 8 2 hostId Ljava/util/UUID;
0 8 3 address Ljava/net/InetAddress;
0 8 4 messagingVersion I
0 8 5 abortRequested Ljava/util/function/BooleanSupplier;
MethodParameters:
Name Flags
reader
hostId
address
messagingVersion
abortRequested
static org.apache.cassandra.hints.HintsDispatcher create(java.io.File, com.google.common.util.concurrent.RateLimiter, java.net.InetAddress, java.util.UUID, java.util.function.BooleanSupplier);
descriptor: (Ljava/io/File;Lcom/google/common/util/concurrent/RateLimiter;Ljava/net/InetAddress;Ljava/util/UUID;Ljava/util/function/BooleanSupplier;)Lorg/apache/cassandra/hints/HintsDispatcher;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic org.apache.cassandra.net.MessagingService.instance:()Lorg/apache/cassandra/net/MessagingService;
aload 2
invokevirtual org.apache.cassandra.net.MessagingService.getVersion:(Ljava/net/InetAddress;)I
istore 5
start local 5 1: new org.apache.cassandra.hints.HintsDispatcher
dup
aload 0
aload 1
invokestatic org.apache.cassandra.hints.HintsReader.open:(Ljava/io/File;Lcom/google/common/util/concurrent/RateLimiter;)Lorg/apache/cassandra/hints/HintsReader;
aload 3
aload 2
iload 5
aload 4
invokespecial org.apache.cassandra.hints.HintsDispatcher.<init>:(Lorg/apache/cassandra/hints/HintsReader;Ljava/util/UUID;Ljava/net/InetAddress;ILjava/util/function/BooleanSupplier;)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 file Ljava/io/File;
0 2 1 rateLimiter Lcom/google/common/util/concurrent/RateLimiter;
0 2 2 address Ljava/net/InetAddress;
0 2 3 hostId Ljava/util/UUID;
0 2 4 abortRequested Ljava/util/function/BooleanSupplier;
1 2 5 messagingVersion I
MethodParameters:
Name Flags
file
rateLimiter
address
hostId
abortRequested
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.hints.HintsDispatcher.reader:Lorg/apache/cassandra/hints/HintsReader;
invokevirtual org.apache.cassandra.hints.HintsReader.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/hints/HintsDispatcher;
void seek(org.apache.cassandra.hints.InputPosition);
descriptor: (Lorg/apache/cassandra/hints/InputPosition;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.hints.HintsDispatcher.reader:Lorg/apache/cassandra/hints/HintsReader;
aload 1
invokevirtual org.apache.cassandra.hints.HintsReader.seek:(Lorg/apache/cassandra/hints/InputPosition;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/hints/HintsDispatcher;
0 2 1 position Lorg/apache/cassandra/hints/InputPosition;
MethodParameters:
Name Flags
position
boolean dispatch();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.hints.HintsDispatcher.reader:Lorg/apache/cassandra/hints/HintsReader;
invokevirtual org.apache.cassandra.hints.HintsReader.iterator:()Ljava/util/Iterator;
astore 2
goto 5
StackMap locals: org.apache.cassandra.hints.HintsDispatcher top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.hints.HintsReader$Page
astore 1
start local 1 2: aload 0
aload 1
getfield org.apache.cassandra.hints.HintsReader$Page.position:Lorg/apache/cassandra/hints/InputPosition;
putfield org.apache.cassandra.hints.HintsDispatcher.currentPagePosition:Lorg/apache/cassandra/hints/InputPosition;
3: aload 0
aload 1
invokevirtual org.apache.cassandra.hints.HintsDispatcher.dispatch:(Lorg/apache/cassandra/hints/HintsReader$Page;)Lorg/apache/cassandra/hints/HintsDispatcher$Action;
getstatic org.apache.cassandra.hints.HintsDispatcher$Action.CONTINUE:Lorg/apache/cassandra/hints/HintsDispatcher$Action;
if_acmpeq 5
4: iconst_0
ireturn
end local 1 5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/hints/HintsDispatcher;
2 5 1 page Lorg/apache/cassandra/hints/HintsReader$Page;
org.apache.cassandra.hints.InputPosition dispatchPosition();
descriptor: ()Lorg/apache/cassandra/hints/InputPosition;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.hints.HintsDispatcher.currentPagePosition:Lorg/apache/cassandra/hints/InputPosition;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/hints/HintsDispatcher;
private org.apache.cassandra.hints.HintsDispatcher$Action dispatch(org.apache.cassandra.hints.HintsReader$Page);
descriptor: (Lorg/apache/cassandra/hints/HintsReader$Page;)Lorg/apache/cassandra/hints/HintsDispatcher$Action;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.cassandra.hints.HintsDispatcher.sendHintsAndAwait:(Lorg/apache/cassandra/hints/HintsReader$Page;)Lorg/apache/cassandra/hints/HintsDispatcher$Action;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/hints/HintsDispatcher;
0 1 1 page Lorg/apache/cassandra/hints/HintsReader$Page;
MethodParameters:
Name Flags
page
private org.apache.cassandra.hints.HintsDispatcher$Action sendHintsAndAwait(org.apache.cassandra.hints.HintsReader$Page);
descriptor: (Lorg/apache/cassandra/hints/HintsReader$Page;)Lorg/apache/cassandra/hints/HintsDispatcher$Action;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
getfield org.apache.cassandra.hints.HintsDispatcher.reader:Lorg/apache/cassandra/hints/HintsReader;
invokevirtual org.apache.cassandra.hints.HintsReader.descriptor:()Lorg/apache/cassandra/hints/HintsDescriptor;
invokevirtual org.apache.cassandra.hints.HintsDescriptor.messagingVersion:()I
aload 0
getfield org.apache.cassandra.hints.HintsDispatcher.messagingVersion:I
if_icmpne 3
2: aload 0
aload 1
invokevirtual org.apache.cassandra.hints.HintsReader$Page.buffersIterator:()Ljava/util/Iterator;
aload 2
aload 0
invokedynamic apply(Lorg/apache/cassandra/hints/HintsDispatcher;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
org/apache/cassandra/hints/HintsDispatcher.sendEncodedHint(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/hints/HintsDispatcher$Callback; (7)
(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/hints/HintsDispatcher$Callback;
invokevirtual org.apache.cassandra.hints.HintsDispatcher.sendHints:(Ljava/util/Iterator;Ljava/util/Collection;Ljava/util/function/Function;)Lorg/apache/cassandra/hints/HintsDispatcher$Action;
goto 4
3: StackMap locals: java.util.Collection
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.cassandra.hints.HintsReader$Page.hintsIterator:()Ljava/util/Iterator;
aload 2
aload 0
invokedynamic apply(Lorg/apache/cassandra/hints/HintsDispatcher;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
org/apache/cassandra/hints/HintsDispatcher.sendHint(Lorg/apache/cassandra/hints/Hint;)Lorg/apache/cassandra/hints/HintsDispatcher$Callback; (7)
(Lorg/apache/cassandra/hints/Hint;)Lorg/apache/cassandra/hints/HintsDispatcher$Callback;
invokevirtual org.apache.cassandra.hints.HintsDispatcher.sendHints:(Ljava/util/Iterator;Ljava/util/Collection;Ljava/util/function/Function;)Lorg/apache/cassandra/hints/HintsDispatcher$Action;
4: StackMap locals:
StackMap stack: org.apache.cassandra.hints.HintsDispatcher$Action
astore 3
start local 3 5: aload 3
getstatic org.apache.cassandra.hints.HintsDispatcher$Action.ABORT:Lorg/apache/cassandra/hints/HintsDispatcher$Action;
if_acmpne 7
6: aload 3
areturn
7: StackMap locals: org.apache.cassandra.hints.HintsDispatcher$Action
StackMap stack:
iconst_0
istore 6
start local 6 8: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 8
goto 14
StackMap locals: org.apache.cassandra.hints.HintsDispatcher org.apache.cassandra.hints.HintsReader$Page java.util.Collection org.apache.cassandra.hints.HintsDispatcher$Action top top int top java.util.Iterator
StackMap stack:
9: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.hints.HintsDispatcher$Callback
astore 7
start local 7 10: aload 7
invokevirtual org.apache.cassandra.hints.HintsDispatcher$Callback.await:()Lorg/apache/cassandra/hints/HintsDispatcher$Callback$Outcome;
astore 9
start local 9 11: aload 0
aload 9
invokevirtual org.apache.cassandra.hints.HintsDispatcher.updateMetrics:(Lorg/apache/cassandra/hints/HintsDispatcher$Callback$Outcome;)V
12: aload 9
getstatic org.apache.cassandra.hints.HintsDispatcher$Callback$Outcome.SUCCESS:Lorg/apache/cassandra/hints/HintsDispatcher$Callback$Outcome;
if_acmpeq 14
13: iconst_1
istore 6
end local 9 end local 7 14: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
15: iload 6
ifeq 16
getstatic org.apache.cassandra.hints.HintsDispatcher$Action.ABORT:Lorg/apache/cassandra/hints/HintsDispatcher$Action;
goto 17
StackMap locals: org.apache.cassandra.hints.HintsDispatcher org.apache.cassandra.hints.HintsReader$Page java.util.Collection org.apache.cassandra.hints.HintsDispatcher$Action top top int
StackMap stack:
16: getstatic org.apache.cassandra.hints.HintsDispatcher$Action.CONTINUE:Lorg/apache/cassandra/hints/HintsDispatcher$Action;
StackMap locals:
StackMap stack: org.apache.cassandra.hints.HintsDispatcher$Action
17: areturn
end local 6 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/cassandra/hints/HintsDispatcher;
0 18 1 page Lorg/apache/cassandra/hints/HintsReader$Page;
1 18 2 callbacks Ljava/util/Collection<Lorg/apache/cassandra/hints/HintsDispatcher$Callback;>;
5 18 3 action Lorg/apache/cassandra/hints/HintsDispatcher$Action;
8 18 6 hadFailures Z
10 14 7 cb Lorg/apache/cassandra/hints/HintsDispatcher$Callback;
11 14 9 outcome Lorg/apache/cassandra/hints/HintsDispatcher$Callback$Outcome;
MethodParameters:
Name Flags
page
private void updateMetrics(org.apache.cassandra.hints.HintsDispatcher$Callback$Outcome);
descriptor: (Lorg/apache/cassandra/hints/HintsDispatcher$Callback$Outcome;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic org.apache.cassandra.hints.HintsDispatcher.$SWITCH_TABLE$org$apache$cassandra$hints$HintsDispatcher$Callback$Outcome:()[I
aload 1
invokevirtual org.apache.cassandra.hints.HintsDispatcher$Callback$Outcome.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 1
2: 5
3: 3
default: 6
}
1: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.metrics.HintsServiceMetrics.hintsSucceeded:Lcom/codahale/metrics/Meter;
invokevirtual com.codahale.metrics.Meter.mark:()V
2: goto 6
3: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.metrics.HintsServiceMetrics.hintsFailed:Lcom/codahale/metrics/Meter;
invokevirtual com.codahale.metrics.Meter.mark:()V
4: goto 6
5: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.metrics.HintsServiceMetrics.hintsTimedOut:Lcom/codahale/metrics/Meter;
invokevirtual com.codahale.metrics.Meter.mark:()V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/hints/HintsDispatcher;
0 7 1 outcome Lorg/apache/cassandra/hints/HintsDispatcher$Callback$Outcome;
MethodParameters:
Name Flags
outcome
private <T> org.apache.cassandra.hints.HintsDispatcher$Action sendHints(java.util.Iterator<T>, java.util.Collection<org.apache.cassandra.hints.HintsDispatcher$Callback>, java.util.function.Function<T, org.apache.cassandra.hints.HintsDispatcher$Callback>);
descriptor: (Ljava/util/Iterator;Ljava/util/Collection;Ljava/util/function/Function;)Lorg/apache/cassandra/hints/HintsDispatcher$Action;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: goto 4
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.hints.HintsDispatcher.abortRequested:Ljava/util/function/BooleanSupplier;
invokeinterface java.util.function.BooleanSupplier.getAsBoolean:()Z
ifeq 3
2: getstatic org.apache.cassandra.hints.HintsDispatcher$Action.ABORT:Lorg/apache/cassandra/hints/HintsDispatcher$Action;
areturn
3: StackMap locals:
StackMap stack:
aload 2
aload 3
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.hints.HintsDispatcher$Callback
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: getstatic org.apache.cassandra.hints.HintsDispatcher$Action.CONTINUE:Lorg/apache/cassandra/hints/HintsDispatcher$Action;
areturn
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/HintsDispatcher;
0 6 1 hints Ljava/util/Iterator<TT;>;
0 6 2 callbacks Ljava/util/Collection<Lorg/apache/cassandra/hints/HintsDispatcher$Callback;>;
0 6 3 sendFunction Ljava/util/function/Function<TT;Lorg/apache/cassandra/hints/HintsDispatcher$Callback;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Iterator<TT;>;Ljava/util/Collection<Lorg/apache/cassandra/hints/HintsDispatcher$Callback;>;Ljava/util/function/Function<TT;Lorg/apache/cassandra/hints/HintsDispatcher$Callback;>;)Lorg/apache/cassandra/hints/HintsDispatcher$Action;
MethodParameters:
Name Flags
hints
callbacks
sendFunction
private org.apache.cassandra.hints.HintsDispatcher$Callback sendHint(org.apache.cassandra.hints.Hint);
descriptor: (Lorg/apache/cassandra/hints/Hint;)Lorg/apache/cassandra/hints/HintsDispatcher$Callback;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.hints.HintsDispatcher$Callback
dup
invokespecial org.apache.cassandra.hints.HintsDispatcher$Callback.<init>:()V
astore 2
start local 2 1: new org.apache.cassandra.hints.HintMessage
dup
aload 0
getfield org.apache.cassandra.hints.HintsDispatcher.hostId:Ljava/util/UUID;
aload 1
invokespecial org.apache.cassandra.hints.HintMessage.<init>:(Ljava/util/UUID;Lorg/apache/cassandra/hints/Hint;)V
astore 3
start local 3 2: invokestatic org.apache.cassandra.net.MessagingService.instance:()Lorg/apache/cassandra/net/MessagingService;
aload 3
invokevirtual org.apache.cassandra.hints.HintMessage.createMessageOut:()Lorg/apache/cassandra/net/MessageOut;
aload 0
getfield org.apache.cassandra.hints.HintsDispatcher.address:Ljava/net/InetAddress;
aload 2
invokevirtual org.apache.cassandra.net.MessagingService.sendRRWithFailure:(Lorg/apache/cassandra/net/MessageOut;Ljava/net/InetAddress;Lorg/apache/cassandra/net/IAsyncCallbackWithFailure;)I
pop
3: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/hints/HintsDispatcher;
0 4 1 hint Lorg/apache/cassandra/hints/Hint;
1 4 2 callback Lorg/apache/cassandra/hints/HintsDispatcher$Callback;
2 4 3 message Lorg/apache/cassandra/hints/HintMessage;
MethodParameters:
Name Flags
hint
private org.apache.cassandra.hints.HintsDispatcher$Callback sendEncodedHint(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/hints/HintsDispatcher$Callback;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.hints.HintsDispatcher$Callback
dup
invokespecial org.apache.cassandra.hints.HintsDispatcher$Callback.<init>:()V
astore 2
start local 2 1: new org.apache.cassandra.hints.EncodedHintMessage
dup
aload 0
getfield org.apache.cassandra.hints.HintsDispatcher.hostId:Ljava/util/UUID;
aload 1
aload 0
getfield org.apache.cassandra.hints.HintsDispatcher.messagingVersion:I
invokespecial org.apache.cassandra.hints.EncodedHintMessage.<init>:(Ljava/util/UUID;Ljava/nio/ByteBuffer;I)V
astore 3
start local 3 2: invokestatic org.apache.cassandra.net.MessagingService.instance:()Lorg/apache/cassandra/net/MessagingService;
aload 3
invokevirtual org.apache.cassandra.hints.EncodedHintMessage.createMessageOut:()Lorg/apache/cassandra/net/MessageOut;
aload 0
getfield org.apache.cassandra.hints.HintsDispatcher.address:Ljava/net/InetAddress;
aload 2
invokevirtual org.apache.cassandra.net.MessagingService.sendRRWithFailure:(Lorg/apache/cassandra/net/MessageOut;Ljava/net/InetAddress;Lorg/apache/cassandra/net/IAsyncCallbackWithFailure;)I
pop
3: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/hints/HintsDispatcher;
0 4 1 hint Ljava/nio/ByteBuffer;
1 4 2 callback Lorg/apache/cassandra/hints/HintsDispatcher$Callback;
2 4 3 message Lorg/apache/cassandra/hints/EncodedHintMessage;
MethodParameters:
Name Flags
hint
static int[] $SWITCH_TABLE$org$apache$cassandra$hints$HintsDispatcher$Callback$Outcome();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.cassandra.hints.HintsDispatcher.$SWITCH_TABLE$org$apache$cassandra$hints$HintsDispatcher$Callback$Outcome:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.apache.cassandra.hints.HintsDispatcher$Callback$Outcome.values:()[Lorg/apache/cassandra/hints/HintsDispatcher$Callback$Outcome;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.apache.cassandra.hints.HintsDispatcher$Callback$Outcome.FAILURE:Lorg/apache/cassandra/hints/HintsDispatcher$Callback$Outcome;
invokevirtual org.apache.cassandra.hints.HintsDispatcher$Callback$Outcome.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.apache.cassandra.hints.HintsDispatcher$Callback$Outcome.INTERRUPTED:Lorg/apache/cassandra/hints/HintsDispatcher$Callback$Outcome;
invokevirtual org.apache.cassandra.hints.HintsDispatcher$Callback$Outcome.ordinal:()I
iconst_4
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.apache.cassandra.hints.HintsDispatcher$Callback$Outcome.SUCCESS:Lorg/apache/cassandra/hints/HintsDispatcher$Callback$Outcome;
invokevirtual org.apache.cassandra.hints.HintsDispatcher$Callback$Outcome.ordinal:()I
iconst_1
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.apache.cassandra.hints.HintsDispatcher$Callback$Outcome.TIMEOUT:Lorg/apache/cassandra/hints/HintsDispatcher$Callback$Outcome;
invokevirtual org.apache.cassandra.hints.HintsDispatcher$Callback$Outcome.ordinal:()I
iconst_2
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic org.apache.cassandra.hints.HintsDispatcher.$SWITCH_TABLE$org$apache$cassandra$hints$HintsDispatcher$Callback$Outcome:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
}
SourceFile: "HintsDispatcher.java"
NestMembers:
org.apache.cassandra.hints.HintsDispatcher$Action org.apache.cassandra.hints.HintsDispatcher$Callback org.apache.cassandra.hints.HintsDispatcher$Callback$Outcome
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private final Action = org.apache.cassandra.hints.HintsDispatcher$Action of org.apache.cassandra.hints.HintsDispatcher
private final Callback = org.apache.cassandra.hints.HintsDispatcher$Callback of org.apache.cassandra.hints.HintsDispatcher
final Outcome = org.apache.cassandra.hints.HintsDispatcher$Callback$Outcome of org.apache.cassandra.hints.HintsDispatcher$Callback
final Page = org.apache.cassandra.hints.HintsReader$Page of org.apache.cassandra.hints.HintsReader