public final class org.apache.cassandra.utils.concurrent.Refs<T extends org.apache.cassandra.utils.concurrent.RefCounted<T>> extends java.util.AbstractCollection<T> implements java.lang.AutoCloseable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.utils.concurrent.Refs
super_class: java.util.AbstractCollection
{
private final java.util.Map<T, org.apache.cassandra.utils.concurrent.Ref<T>> references;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<TT;Lorg/apache/cassandra/utils/concurrent/Ref<TT;>;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.AbstractCollection.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.cassandra.utils.concurrent.Refs.references:Ljava/util/Map;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/utils/concurrent/Refs<TT;>;
public void <init>(java.util.Map<T, org.apache.cassandra.utils.concurrent.Ref<T>>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.util.AbstractCollection.<init>:()V
1: aload 0
new java.util.HashMap
dup
aload 1
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
putfield org.apache.cassandra.utils.concurrent.Refs.references:Ljava/util/Map;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/utils/concurrent/Refs<TT;>;
0 3 1 references Ljava/util/Map<TT;Lorg/apache/cassandra/utils/concurrent/Ref<TT;>;>;
Signature: (Ljava/util/Map<TT;Lorg/apache/cassandra/utils/concurrent/Ref<TT;>;>;)V
MethodParameters:
Name Flags
references
public void release();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.concurrent.Refs.references:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokestatic org.apache.cassandra.utils.concurrent.Refs.release:(Ljava/lang/Iterable;)V
1: goto 5
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
3: aload 0
getfield org.apache.cassandra.utils.concurrent.Refs.references:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
4: aload 1
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.concurrent.Refs.references:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/utils/concurrent/Refs<TT;>;
Exception table:
from to target type
0 2 2 any
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.utils.concurrent.Refs.release:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/utils/concurrent/Refs<TT;>;
public org.apache.cassandra.utils.concurrent.Ref<T> get(T);
descriptor: (Lorg/apache/cassandra/utils/concurrent/RefCounted;)Lorg/apache/cassandra/utils/concurrent/Ref;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.utils.concurrent.Refs.references:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.utils.concurrent.Ref
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/concurrent/Refs<TT;>;
0 1 1 referenced TT;
Signature: (TT;)Lorg/apache/cassandra/utils/concurrent/Ref<TT;>;
MethodParameters:
Name Flags
referenced
public void release();
descriptor: (Lorg/apache/cassandra/utils/concurrent/RefCounted;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.utils.concurrent.Refs.references:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.utils.concurrent.Ref
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "This Refs collection does not hold a reference to "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.apache.cassandra.utils.concurrent.Ref
StackMap stack:
aload 2
invokevirtual org.apache.cassandra.utils.concurrent.Ref.release:()V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/utils/concurrent/Refs<TT;>;
0 5 1 referenced TT;
1 5 2 ref Lorg/apache/cassandra/utils/concurrent/Ref;
Signature: (TT;)V
MethodParameters:
Name Flags
referenced
public boolean releaseIfHolds();
descriptor: (Lorg/apache/cassandra/utils/concurrent/RefCounted;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.utils.concurrent.Refs.references:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.utils.concurrent.Ref
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
invokevirtual org.apache.cassandra.utils.concurrent.Ref.release:()V
3: StackMap locals: org.apache.cassandra.utils.concurrent.Ref
StackMap stack:
aload 2
ifnull 4
iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/utils/concurrent/Refs<TT;>;
0 5 1 referenced TT;
1 5 2 ref Lorg/apache/cassandra/utils/concurrent/Ref;
Signature: (TT;)Z
MethodParameters:
Name Flags
referenced
public void relaseAllExcept(java.util.Collection<T>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
aload 0
getfield org.apache.cassandra.utils.concurrent.Refs.references:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 2
start local 2 1: aload 2
aload 1
invokeinterface java.util.Collection.retainAll:(Ljava/util/Collection;)Z
pop
2: aload 0
aload 2
invokevirtual org.apache.cassandra.utils.concurrent.Refs.release:(Ljava/util/Collection;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/utils/concurrent/Refs<TT;>;
0 4 1 keep Ljava/util/Collection<TT;>;
1 4 2 release Ljava/util/Collection<TT;>;
Signature: (Ljava/util/Collection<TT;>;)V
MethodParameters:
Name Flags
keep
public void release(java.util.Collection<T>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, 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: aconst_null
astore 3
start local 3 2: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 11
StackMap locals: org.apache.cassandra.utils.concurrent.Refs java.util.Collection java.util.List java.util.List top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.utils.concurrent.RefCounted
astore 4
start local 4 4: aload 0
getfield org.apache.cassandra.utils.concurrent.Refs.references:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.utils.concurrent.Ref
astore 6
start local 6 5: aload 6
ifnonnull 10
6: aload 3
ifnonnull 8
7: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
8: StackMap locals: org.apache.cassandra.utils.concurrent.Refs java.util.Collection java.util.List java.util.List org.apache.cassandra.utils.concurrent.RefCounted java.util.Iterator org.apache.cassandra.utils.concurrent.Ref
StackMap stack:
aload 3
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: goto 11
10: StackMap locals:
StackMap stack:
aload 2
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 4 11: StackMap locals: org.apache.cassandra.utils.concurrent.Refs java.util.Collection java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
12: aconst_null
astore 4
start local 4 13: aload 3
ifnull 18
14: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Could not release references to "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
15: ldc " as references to these objects were not held"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
astore 4
17: aload 4
invokevirtual java.lang.IllegalStateException.fillInStackTrace:()Ljava/lang/Throwable;
pop
18: StackMap locals: org.apache.cassandra.utils.concurrent.Refs java.util.Collection java.util.List java.util.List java.lang.IllegalStateException
StackMap stack:
aload 2
invokestatic org.apache.cassandra.utils.concurrent.Refs.release:(Ljava/lang/Iterable;)V
19: goto 23
20: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
start local 5 21: aload 4
ifnull 23
22: aload 5
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
end local 5 23: StackMap locals:
StackMap stack:
aload 4
ifnull 25
24: aload 4
athrow
25: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/apache/cassandra/utils/concurrent/Refs<TT;>;
0 26 1 release Ljava/util/Collection<TT;>;
1 26 2 refs Ljava/util/List<Lorg/apache/cassandra/utils/concurrent/Ref<TT;>;>;
2 26 3 notPresent Ljava/util/List<TT;>;
4 11 4 obj TT;
5 11 6 ref Lorg/apache/cassandra/utils/concurrent/Ref<TT;>;
13 26 4 notPresentFail Ljava/lang/IllegalStateException;
21 23 5 t Ljava/lang/Throwable;
Exception table:
from to target type
18 19 20 Class java.lang.Throwable
Signature: (Ljava/util/Collection<TT;>;)V
MethodParameters:
Name Flags
release
public boolean tryRef();
descriptor: (Lorg/apache/cassandra/utils/concurrent/RefCounted;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.apache.cassandra.utils.concurrent.RefCounted.tryRef:()Lorg/apache/cassandra/utils/concurrent/Ref;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: org.apache.cassandra.utils.concurrent.Ref
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.concurrent.Refs.references:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.utils.concurrent.Ref
astore 2
4: aload 2
ifnull 6
5: aload 2
invokevirtual org.apache.cassandra.utils.concurrent.Ref.release:()V
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/utils/concurrent/Refs<TT;>;
0 7 1 t TT;
1 7 2 ref Lorg/apache/cassandra/utils/concurrent/Ref<TT;>;
Signature: (TT;)Z
MethodParameters:
Name Flags
t
public java.util.Iterator<T> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.concurrent.Refs.references:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
invokestatic com.google.common.collect.Iterators.unmodifiableIterator:(Ljava/util/Iterator;)Lcom/google/common/collect/UnmodifiableIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/concurrent/Refs<TT;>;
Signature: ()Ljava/util/Iterator<TT;>;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.concurrent.Refs.references:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/concurrent/Refs<TT;>;
public org.apache.cassandra.utils.concurrent.Refs<T> addAll(org.apache.cassandra.utils.concurrent.Refs<T>);
descriptor: (Lorg/apache/cassandra/utils/concurrent/Refs;)Lorg/apache/cassandra/utils/concurrent/Refs;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, 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 1
getfield org.apache.cassandra.utils.concurrent.Refs.references:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: org.apache.cassandra.utils.concurrent.Refs org.apache.cassandra.utils.concurrent.Refs java.util.List top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 3: aload 0
getfield org.apache.cassandra.utils.concurrent.Refs.references:Ljava/util/Map;
aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 5
4: aload 2
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.apache.cassandra.utils.concurrent.Ref
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
goto 6
5: StackMap locals: org.apache.cassandra.utils.concurrent.Refs org.apache.cassandra.utils.concurrent.Refs java.util.List java.util.Map$Entry java.util.Iterator
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.concurrent.Refs.references:Ljava/util/Map;
aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast org.apache.cassandra.utils.concurrent.RefCounted
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.apache.cassandra.utils.concurrent.Ref
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 6: StackMap locals: org.apache.cassandra.utils.concurrent.Refs org.apache.cassandra.utils.concurrent.Refs java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: aload 1
getfield org.apache.cassandra.utils.concurrent.Refs.references:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
8: aload 2
invokestatic org.apache.cassandra.utils.concurrent.Refs.release:(Ljava/lang/Iterable;)V
9: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/utils/concurrent/Refs<TT;>;
0 10 1 add Lorg/apache/cassandra/utils/concurrent/Refs<TT;>;
1 10 2 overlap Ljava/util/List<Lorg/apache/cassandra/utils/concurrent/Ref<TT;>;>;
3 6 3 e Ljava/util/Map$Entry<TT;Lorg/apache/cassandra/utils/concurrent/Ref<TT;>;>;
Signature: (Lorg/apache/cassandra/utils/concurrent/Refs<TT;>;)Lorg/apache/cassandra/utils/concurrent/Refs<TT;>;
MethodParameters:
Name Flags
add
public static <T extends org.apache.cassandra.utils.concurrent.RefCounted<T>> org.apache.cassandra.utils.concurrent.Refs<T> tryRef(java.lang.Iterable<T>);
descriptor: (Ljava/lang/Iterable;)Lorg/apache/cassandra/utils/concurrent/Refs;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 1: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: java.lang.Iterable java.util.HashMap top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.utils.concurrent.RefCounted
astore 2
start local 2 3: aload 2
invokeinterface org.apache.cassandra.utils.concurrent.RefCounted.tryRef:()Lorg/apache/cassandra/utils/concurrent/Ref;
astore 4
start local 4 4: aload 4
ifnonnull 7
5: aload 1
invokevirtual java.util.HashMap.values:()Ljava/util/Collection;
invokestatic org.apache.cassandra.utils.concurrent.Refs.release:(Ljava/lang/Iterable;)V
6: aconst_null
areturn
7: StackMap locals: java.lang.Iterable java.util.HashMap org.apache.cassandra.utils.concurrent.RefCounted java.util.Iterator org.apache.cassandra.utils.concurrent.Ref
StackMap stack:
aload 1
aload 2
aload 4
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 end local 2 8: StackMap locals: java.lang.Iterable java.util.HashMap top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: new org.apache.cassandra.utils.concurrent.Refs
dup
aload 1
invokespecial org.apache.cassandra.utils.concurrent.Refs.<init>:(Ljava/util/Map;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 reference Ljava/lang/Iterable<TT;>;
1 10 1 refs Ljava/util/HashMap<TT;Lorg/apache/cassandra/utils/concurrent/Ref<TT;>;>;
3 8 2 rc TT;
4 8 4 ref Lorg/apache/cassandra/utils/concurrent/Ref<TT;>;
Signature: <T::Lorg/apache/cassandra/utils/concurrent/RefCounted<TT;>;>(Ljava/lang/Iterable<TT;>;)Lorg/apache/cassandra/utils/concurrent/Refs<TT;>;
MethodParameters:
Name Flags
reference
public static <T extends org.apache.cassandra.utils.concurrent.RefCounted<T>> org.apache.cassandra.utils.concurrent.Refs<T> ref(java.lang.Iterable<T>);
descriptor: (Ljava/lang/Iterable;)Lorg/apache/cassandra/utils/concurrent/Refs;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.apache.cassandra.utils.concurrent.Refs.tryRef:(Ljava/lang/Iterable;)Lorg/apache/cassandra/utils/concurrent/Refs;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
areturn
3: StackMap locals: org.apache.cassandra.utils.concurrent.Refs
StackMap stack:
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 reference Ljava/lang/Iterable<TT;>;
1 4 1 refs Lorg/apache/cassandra/utils/concurrent/Refs<TT;>;
Signature: <T::Lorg/apache/cassandra/utils/concurrent/RefCounted<TT;>;>(Ljava/lang/Iterable<TT;>;)Lorg/apache/cassandra/utils/concurrent/Refs<TT;>;
MethodParameters:
Name Flags
reference
public static void release(java.lang.Iterable<? extends org.apache.cassandra.utils.concurrent.Ref<?>>);
descriptor: (Ljava/lang/Iterable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokestatic org.apache.cassandra.utils.concurrent.Refs.release:(Ljava/lang/Iterable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
invokestatic org.apache.cassandra.utils.Throwables.maybeFail:(Ljava/lang/Throwable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 refs Ljava/lang/Iterable<+Lorg/apache/cassandra/utils/concurrent/Ref<*>;>;
Signature: (Ljava/lang/Iterable<+Lorg/apache/cassandra/utils/concurrent/Ref<*>;>;)V
MethodParameters:
Name Flags
refs
public static java.lang.Throwable release(java.lang.Iterable<? extends org.apache.cassandra.utils.concurrent.Ref<?>>, java.lang.Throwable);
descriptor: (Ljava/lang/Iterable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: java.lang.Iterable java.lang.Throwable top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.utils.concurrent.Ref
astore 2
start local 2 2: aload 2
invokevirtual org.apache.cassandra.utils.concurrent.Ref.release:()V
3: goto 6
4: StackMap locals: java.lang.Iterable java.lang.Throwable org.apache.cassandra.utils.concurrent.Ref java.util.Iterator
StackMap stack: java.lang.Throwable
astore 4
start local 4 5: aload 1
aload 4
invokestatic org.apache.cassandra.utils.Throwables.merge:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
end local 4 end local 2 6: StackMap locals: java.lang.Iterable java.lang.Throwable top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 refs Ljava/lang/Iterable<+Lorg/apache/cassandra/utils/concurrent/Ref<*>;>;
0 8 1 accumulate Ljava/lang/Throwable;
2 6 2 ref Lorg/apache/cassandra/utils/concurrent/Ref;
5 6 4 t Ljava/lang/Throwable;
Exception table:
from to target type
2 3 4 Class java.lang.Throwable
Signature: (Ljava/lang/Iterable<+Lorg/apache/cassandra/utils/concurrent/Ref<*>;>;Ljava/lang/Throwable;)Ljava/lang/Throwable;
MethodParameters:
Name Flags
refs
accumulate
public static <T extends org.apache.cassandra.utils.concurrent.SelfRefCounted<T>> java.lang.Iterable<org.apache.cassandra.utils.concurrent.Ref<T>> selfRefs(java.lang.Iterable<T>);
descriptor: (Ljava/lang/Iterable;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new org.apache.cassandra.utils.concurrent.Refs$1
dup
invokespecial org.apache.cassandra.utils.concurrent.Refs$1.<init>:()V
invokestatic com.google.common.collect.Iterables.transform:(Ljava/lang/Iterable;Lcom/google/common/base/Function;)Ljava/lang/Iterable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 refs Ljava/lang/Iterable<TT;>;
Signature: <T::Lorg/apache/cassandra/utils/concurrent/SelfRefCounted<TT;>;>(Ljava/lang/Iterable<TT;>;)Ljava/lang/Iterable<Lorg/apache/cassandra/utils/concurrent/Ref<TT;>;>;
MethodParameters:
Name Flags
refs
}
Signature: <T::Lorg/apache/cassandra/utils/concurrent/RefCounted<TT;>;>Ljava/util/AbstractCollection<TT;>;Ljava/lang/AutoCloseable;
SourceFile: "Refs.java"
NestMembers:
org.apache.cassandra.utils.concurrent.Refs$1
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
org.apache.cassandra.utils.concurrent.Refs$1