abstract class org.apache.cassandra.service.StorageProxy$HintRunnable implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.cassandra.service.StorageProxy$HintRunnable
super_class: java.lang.Object
{
public final java.util.Collection<java.net.InetAddress> targets;
descriptor: Ljava/util/Collection;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/Collection<Ljava/net/InetAddress;>;
protected void <init>(java.util.Collection<java.net.InetAddress>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.service.StorageProxy$HintRunnable.targets:Ljava/util/Collection;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/service/StorageProxy$HintRunnable;
0 3 1 targets Ljava/util/Collection<Ljava/net/InetAddress;>;
Signature: (Ljava/util/Collection<Ljava/net/InetAddress;>;)V
MethodParameters:
Name Flags
targets
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.service.StorageProxy$HintRunnable.runMayThrow:()V
1: goto 11
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 3: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
5: getstatic org.apache.cassandra.metrics.StorageMetrics.totalHintsInProgress:Lcom/codahale/metrics/Counter;
aload 0
getfield org.apache.cassandra.service.StorageProxy$HintRunnable.targets:Ljava/util/Collection;
invokeinterface java.util.Collection.size:()I
i2l
invokevirtual com.codahale.metrics.Counter.dec:(J)V
6: aload 0
getfield org.apache.cassandra.service.StorageProxy$HintRunnable.targets:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: org.apache.cassandra.service.StorageProxy$HintRunnable top java.lang.Throwable top java.util.Iterator
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.net.InetAddress
astore 3
start local 3 8: aload 3
invokestatic org.apache.cassandra.service.StorageProxy.getHintsInProgressFor:(Ljava/net/InetAddress;)Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
pop
end local 3 9: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: aload 2
athrow
11: StackMap locals: org.apache.cassandra.service.StorageProxy$HintRunnable
StackMap stack:
getstatic org.apache.cassandra.metrics.StorageMetrics.totalHintsInProgress:Lcom/codahale/metrics/Counter;
aload 0
getfield org.apache.cassandra.service.StorageProxy$HintRunnable.targets:Ljava/util/Collection;
invokeinterface java.util.Collection.size:()I
i2l
invokevirtual com.codahale.metrics.Counter.dec:(J)V
12: aload 0
getfield org.apache.cassandra.service.StorageProxy$HintRunnable.targets:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 15
StackMap locals: org.apache.cassandra.service.StorageProxy$HintRunnable top top top java.util.Iterator
StackMap stack:
13: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.net.InetAddress
astore 3
start local 3 14: aload 3
invokestatic org.apache.cassandra.service.StorageProxy.getHintsInProgressFor:(Ljava/net/InetAddress;)Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
pop
end local 3 15: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
16: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/cassandra/service/StorageProxy$HintRunnable;
3 4 1 e Ljava/lang/Exception;
8 9 3 target Ljava/net/InetAddress;
14 15 3 target Ljava/net/InetAddress;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
0 4 4 any
protected abstract void runMayThrow();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
}
SourceFile: "StorageProxy.java"
NestHost: org.apache.cassandra.service.StorageProxy
InnerClasses:
private abstract HintRunnable = org.apache.cassandra.service.StorageProxy$HintRunnable of org.apache.cassandra.service.StorageProxy