class org.apache.cassandra.db.lifecycle.View$7 implements com.google.common.base.Function<org.apache.cassandra.db.lifecycle.View, org.apache.cassandra.db.lifecycle.View>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.db.lifecycle.View$7
super_class: java.lang.Object
{
private final org.apache.cassandra.db.Memtable val$memtable;
descriptor: Lorg/apache/cassandra/db/Memtable;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.Iterable val$flushed;
descriptor: Ljava/lang/Iterable;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.cassandra.db.Memtable, java.lang.Iterable);
descriptor: (Lorg/apache/cassandra/db/Memtable;Ljava/lang/Iterable;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield org.apache.cassandra.db.lifecycle.View$7.val$memtable:Lorg/apache/cassandra/db/Memtable;
aload 0
aload 2
putfield org.apache.cassandra.db.lifecycle.View$7.val$flushed:Ljava/lang/Iterable;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/lifecycle/View$7;
MethodParameters:
Name Flags
val$memtable final
val$flushed final
public org.apache.cassandra.db.lifecycle.View apply(org.apache.cassandra.db.lifecycle.View);
descriptor: (Lorg/apache/cassandra/db/lifecycle/View;)Lorg/apache/cassandra/db/lifecycle/View;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 1
getfield org.apache.cassandra.db.lifecycle.View.flushingMemtables:Ljava/util/List;
aload 0
getfield org.apache.cassandra.db.lifecycle.View$7.val$memtable:Lorg/apache/cassandra/db/Memtable;
invokestatic com.google.common.base.Predicates.equalTo:(Ljava/lang/Object;)Lcom/google/common/base/Predicate;
invokestatic com.google.common.base.Predicates.not:(Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;
invokestatic com.google.common.collect.Iterables.filter:(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Ljava/lang/Iterable;
invokestatic com.google.common.collect.ImmutableList.copyOf:(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableList;
astore 2
start local 2 1: getstatic org.apache.cassandra.db.lifecycle.View.$assertionsDisabled:Z
ifne 2
aload 2
invokeinterface java.util.List.size:()I
aload 1
getfield org.apache.cassandra.db.lifecycle.View.flushingMemtables:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
if_icmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: java.util.List
StackMap stack:
aload 0
getfield org.apache.cassandra.db.lifecycle.View$7.val$flushed:Ljava/lang/Iterable;
ifnull 3
aload 0
getfield org.apache.cassandra.db.lifecycle.View$7.val$flushed:Ljava/lang/Iterable;
invokestatic com.google.common.collect.Iterables.isEmpty:(Ljava/lang/Iterable;)Z
ifeq 6
3: StackMap locals:
StackMap stack:
new org.apache.cassandra.db.lifecycle.View
dup
aload 1
getfield org.apache.cassandra.db.lifecycle.View.liveMemtables:Ljava/util/List;
aload 2
aload 1
getfield org.apache.cassandra.db.lifecycle.View.sstablesMap:Ljava/util/Map;
4: aload 1
getfield org.apache.cassandra.db.lifecycle.View.compactingMap:Ljava/util/Map;
aload 1
getfield org.apache.cassandra.db.lifecycle.View.intervalTree:Lorg/apache/cassandra/db/lifecycle/SSTableIntervalTree;
5: invokespecial org.apache.cassandra.db.lifecycle.View.<init>:(Ljava/util/List;Ljava/util/List;Ljava/util/Map;Ljava/util/Map;Lorg/apache/cassandra/db/lifecycle/SSTableIntervalTree;)V
areturn
6: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.cassandra.db.lifecycle.View.sstablesMap:Ljava/util/Map;
invokestatic org.apache.cassandra.db.lifecycle.Helpers.emptySet:()Ljava/util/Set;
aload 0
getfield org.apache.cassandra.db.lifecycle.View$7.val$flushed:Ljava/lang/Iterable;
invokestatic org.apache.cassandra.db.lifecycle.Helpers.replace:(Ljava/util/Map;Ljava/util/Set;Ljava/lang/Iterable;)Ljava/util/Map;
astore 3
start local 3 7: new org.apache.cassandra.db.lifecycle.View
dup
aload 1
getfield org.apache.cassandra.db.lifecycle.View.liveMemtables:Ljava/util/List;
aload 2
aload 3
aload 1
getfield org.apache.cassandra.db.lifecycle.View.compactingMap:Ljava/util/Map;
8: aload 3
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokestatic org.apache.cassandra.db.lifecycle.SSTableIntervalTree.build:(Ljava/lang/Iterable;)Lorg/apache/cassandra/db/lifecycle/SSTableIntervalTree;
9: invokespecial org.apache.cassandra.db.lifecycle.View.<init>:(Ljava/util/List;Ljava/util/List;Ljava/util/Map;Ljava/util/Map;Lorg/apache/cassandra/db/lifecycle/SSTableIntervalTree;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/db/lifecycle/View$7;
0 10 1 view Lorg/apache/cassandra/db/lifecycle/View;
1 10 2 flushingMemtables Ljava/util/List<Lorg/apache/cassandra/db/Memtable;>;
7 10 3 sstableMap Ljava/util/Map<Lorg/apache/cassandra/io/sstable/format/SSTableReader;Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
MethodParameters:
Name Flags
view
public java.lang.Object apply(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.apache.cassandra.db.lifecycle.View
invokevirtual org.apache.cassandra.db.lifecycle.View$7.apply:(Lorg/apache/cassandra/db/lifecycle/View;)Lorg/apache/cassandra/db/lifecycle/View;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/google/common/base/Function<Lorg/apache/cassandra/db/lifecycle/View;Lorg/apache/cassandra/db/lifecycle/View;>;
SourceFile: "View.java"
EnclosingMethod: org.apache.cassandra.db.lifecycle.View.replaceFlushed:(Lorg/apache/cassandra/db/Memtable;Ljava/lang/Iterable;)Lcom/google/common/base/Function;
NestHost: org.apache.cassandra.db.lifecycle.View
InnerClasses:
org.apache.cassandra.db.lifecycle.View$7