final class org.apache.cassandra.db.lifecycle.LogRecord
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.db.lifecycle.LogRecord
super_class: java.lang.Object
{
public final org.apache.cassandra.db.lifecycle.LogRecord$Type type;
descriptor: Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.util.Optional<java.lang.String> absolutePath;
descriptor: Ljava/util/Optional;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/Optional<Ljava/lang/String;>;
public final long updateTime;
descriptor: J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int numFiles;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.lang.String raw;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final long checksum;
descriptor: J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.cassandra.db.lifecycle.LogRecord$Status status;
descriptor: Lorg/apache/cassandra/db/lifecycle/LogRecord$Status;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
static java.util.regex.Pattern REGEX;
descriptor: Ljava/util/regex/Pattern;
flags: (0x0008) ACC_STATIC
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/db/lifecycle/LogRecord;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.db.lifecycle.LogRecord.$assertionsDisabled:Z
3: ldc "^(add|remove|commit|abort):\\[([^,]*),?([^,]*),?([^,]*)\\]\\[(\\d*)\\]$"
iconst_2
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;I)Ljava/util/regex/Pattern;
putstatic org.apache.cassandra.db.lifecycle.LogRecord.REGEX:Ljava/util/regex/Pattern;
return
LocalVariableTable:
Start End Slot Name Signature
public static org.apache.cassandra.db.lifecycle.LogRecord make(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/db/lifecycle/LogRecord;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=3, args_size=1
start local 0 0: getstatic org.apache.cassandra.db.lifecycle.LogRecord.REGEX:Ljava/util/regex/Pattern;
aload 0
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 1
start local 1 1: aload 1
invokevirtual java.util.regex.Matcher.matches:()Z
ifne 5
2: new org.apache.cassandra.db.lifecycle.LogRecord
dup
getstatic org.apache.cassandra.db.lifecycle.LogRecord$Type.UNKNOWN:Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
aconst_null
lconst_0
iconst_0
lconst_0
aload 0
invokespecial org.apache.cassandra.db.lifecycle.LogRecord.<init>:(Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;Ljava/lang/String;JIJLjava/lang/String;)V
3: ldc "Failed to parse [%s]"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.apache.cassandra.db.lifecycle.LogRecord.setError:(Ljava/lang/String;)Lorg/apache/cassandra/db/lifecycle/LogRecord;
4: areturn
5: StackMap locals: java.util.regex.Matcher
StackMap stack:
aload 1
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokestatic org.apache.cassandra.db.lifecycle.LogRecord$Type.fromPrefix:(Ljava/lang/String;)Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
astore 2
start local 2 6: new org.apache.cassandra.db.lifecycle.LogRecord
dup
aload 2
7: new java.lang.StringBuilder
dup
aload 1
iconst_2
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: aload 1
iconst_3
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
9: aload 1
iconst_4
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
10: aload 1
iconst_5
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
11: aload 0
12: invokespecial org.apache.cassandra.db.lifecycle.LogRecord.<init>:(Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;Ljava/lang/String;JIJLjava/lang/String;)V
13: areturn
end local 2 end local 1 14: StackMap locals: java.lang.String
StackMap stack: java.lang.IllegalArgumentException
astore 1
start local 1 15: new org.apache.cassandra.db.lifecycle.LogRecord
dup
getstatic org.apache.cassandra.db.lifecycle.LogRecord$Type.UNKNOWN:Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
aconst_null
lconst_0
iconst_0
lconst_0
aload 0
invokespecial org.apache.cassandra.db.lifecycle.LogRecord.<init>:(Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;Ljava/lang/String;JIJLjava/lang/String;)V
16: ldc "Failed to parse line: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual java.lang.IllegalArgumentException.getMessage:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.apache.cassandra.db.lifecycle.LogRecord.setError:(Ljava/lang/String;)Lorg/apache/cassandra/db/lifecycle/LogRecord;
17: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 line Ljava/lang/String;
1 14 1 matcher Ljava/util/regex/Matcher;
6 14 2 type Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
15 18 1 e Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
0 4 14 Class java.lang.IllegalArgumentException
5 13 14 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
line
public static org.apache.cassandra.db.lifecycle.LogRecord makeCommit(long);
descriptor: (J)Lorg/apache/cassandra/db/lifecycle/LogRecord;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new org.apache.cassandra.db.lifecycle.LogRecord
dup
getstatic org.apache.cassandra.db.lifecycle.LogRecord$Type.COMMIT:Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
lload 0
invokespecial org.apache.cassandra.db.lifecycle.LogRecord.<init>:(Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 updateTime J
MethodParameters:
Name Flags
updateTime
public static org.apache.cassandra.db.lifecycle.LogRecord makeAbort(long);
descriptor: (J)Lorg/apache/cassandra/db/lifecycle/LogRecord;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new org.apache.cassandra.db.lifecycle.LogRecord
dup
getstatic org.apache.cassandra.db.lifecycle.LogRecord$Type.ABORT:Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
lload 0
invokespecial org.apache.cassandra.db.lifecycle.LogRecord.<init>:(Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 updateTime J
MethodParameters:
Name Flags
updateTime
public static org.apache.cassandra.db.lifecycle.LogRecord make(org.apache.cassandra.db.lifecycle.LogRecord$Type, org.apache.cassandra.io.sstable.SSTable);
descriptor: (Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;Lorg/apache/cassandra/io/sstable/SSTable;)Lorg/apache/cassandra/db/lifecycle/LogRecord;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getfield org.apache.cassandra.io.sstable.SSTable.descriptor:Lorg/apache/cassandra/io/sstable/Descriptor;
invokevirtual org.apache.cassandra.io.sstable.Descriptor.baseFilename:()Ljava/lang/String;
invokestatic org.apache.cassandra.db.lifecycle.LogRecord.absolutePath:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 0
aload 2
invokestatic org.apache.cassandra.db.lifecycle.LogRecord.getExistingFiles:(Ljava/lang/String;)Ljava/util/List;
aload 1
invokevirtual org.apache.cassandra.io.sstable.SSTable.getAllFilePaths:()Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 2
invokestatic org.apache.cassandra.db.lifecycle.LogRecord.make:(Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;Ljava/util/List;ILjava/lang/String;)Lorg/apache/cassandra/db/lifecycle/LogRecord;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 type Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
0 2 1 table Lorg/apache/cassandra/io/sstable/SSTable;
1 2 2 absoluteTablePath Ljava/lang/String;
MethodParameters:
Name Flags
type
table
public static java.util.Map<org.apache.cassandra.io.sstable.SSTable, org.apache.cassandra.db.lifecycle.LogRecord> make(org.apache.cassandra.db.lifecycle.LogRecord$Type, java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;Ljava/lang/Iterable;)Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=10, args_size=2
start local 0 start local 1 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 1: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.apache.cassandra.db.lifecycle.LogRecord$Type java.lang.Iterable java.util.Map top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 3
start local 3 3: aload 2
aload 3
getfield org.apache.cassandra.io.sstable.format.SSTableReader.descriptor:Lorg/apache/cassandra/io/sstable/Descriptor;
invokevirtual org.apache.cassandra.io.sstable.Descriptor.baseFilename:()Ljava/lang/String;
invokestatic org.apache.cassandra.db.lifecycle.LogRecord.absolutePath:(Ljava/lang/String;)Ljava/lang/String;
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 2
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokestatic org.apache.cassandra.db.lifecycle.LogRecord.getExistingFiles:(Ljava/util/Set;)Ljava/util/Map;
astore 3
start local 3 6: new java.util.HashMap
dup
aload 3
invokeinterface java.util.Map.size:()I
invokespecial java.util.HashMap.<init>:(I)V
astore 4
start local 4 7: aload 3
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 13
StackMap locals: org.apache.cassandra.db.lifecycle.LogRecord$Type java.lang.Iterable java.util.Map java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
8: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 5
start local 5 9: aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
astore 7
start local 7 10: aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 11: aload 2
aload 8
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.SSTable
astore 9
start local 9 12: aload 4
aload 9
aload 0
aload 7
aload 9
invokevirtual org.apache.cassandra.io.sstable.SSTable.getAllFilePaths:()Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 8
invokestatic org.apache.cassandra.db.lifecycle.LogRecord.make:(Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;Ljava/util/List;ILjava/lang/String;)Lorg/apache/cassandra/db/lifecycle/LogRecord;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 9 end local 8 end local 7 end local 5 13: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
14: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 type Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
0 15 1 tables Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
1 15 2 absolutePaths Ljava/util/Map<Ljava/lang/String;Lorg/apache/cassandra/io/sstable/SSTable;>;
3 4 3 table Lorg/apache/cassandra/io/sstable/format/SSTableReader;
6 15 3 existingFiles Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/io/File;>;>;
7 15 4 records Ljava/util/Map<Lorg/apache/cassandra/io/sstable/SSTable;Lorg/apache/cassandra/db/lifecycle/LogRecord;>;
9 13 5 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/io/File;>;>;
10 13 7 filesOnDisk Ljava/util/List<Ljava/io/File;>;
11 13 8 baseFileName Ljava/lang/String;
12 13 9 sstable Lorg/apache/cassandra/io/sstable/SSTable;
Signature: (Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)Ljava/util/Map<Lorg/apache/cassandra/io/sstable/SSTable;Lorg/apache/cassandra/db/lifecycle/LogRecord;>;
MethodParameters:
Name Flags
type
tables
private static java.lang.String absolutePath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.apache.cassandra.io.util.FileUtils.getCanonicalPath:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 baseFilename Ljava/lang/String;
MethodParameters:
Name Flags
baseFilename
public org.apache.cassandra.db.lifecycle.LogRecord withExistingFiles();
descriptor: ()Lorg/apache/cassandra/db/lifecycle/LogRecord;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.type:Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
aload 0
invokevirtual org.apache.cassandra.db.lifecycle.LogRecord.getExistingFiles:()Ljava/util/List;
iconst_0
aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.absolutePath:Ljava/util/Optional;
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic org.apache.cassandra.db.lifecycle.LogRecord.make:(Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;Ljava/util/List;ILjava/lang/String;)Lorg/apache/cassandra/db/lifecycle/LogRecord;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
public static org.apache.cassandra.db.lifecycle.LogRecord make(org.apache.cassandra.db.lifecycle.LogRecord$Type, java.util.List<java.io.File>, int, java.lang.String);
descriptor: (Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;Ljava/util/List;ILjava/lang/String;)Lorg/apache/cassandra/db/lifecycle/LogRecord;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic apply()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;
java/io/File.lastModified()J (5)
(Ljava/io/File;)Ljava/lang/Long;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
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/db/lifecycle/LogRecord.lambda$1(Ljava/lang/Long;)Z (6)
(Ljava/lang/Long;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
astore 4
start local 4 1: aload 4
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokedynamic apply()Ljava/util/function/BinaryOperator;
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;)Ljava/lang/Object;
java/lang/Long.max(JJ)J (6)
(Ljava/lang/Long;Ljava/lang/Long;)Ljava/lang/Long;
invokeinterface java.util.stream.Stream.reduce:(Ljava/lang/Object;Ljava/util/function/BinaryOperator;)Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lstore 5
start local 5 2: new org.apache.cassandra.db.lifecycle.LogRecord
dup
aload 0
aload 3
lload 5
iload 2
aload 4
invokeinterface java.util.List.size:()I
invokestatic java.lang.Math.max:(II)I
invokespecial org.apache.cassandra.db.lifecycle.LogRecord.<init>:(Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;Ljava/lang/String;JI)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 3 0 type Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
0 3 1 files Ljava/util/List<Ljava/io/File;>;
0 3 2 minFiles I
0 3 3 absolutePath Ljava/lang/String;
1 3 4 positiveModifiedTimes Ljava/util/List<Ljava/lang/Long;>;
2 3 5 lastModified J
Signature: (Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;Ljava/util/List<Ljava/io/File;>;ILjava/lang/String;)Lorg/apache/cassandra/db/lifecycle/LogRecord;
MethodParameters:
Name Flags
type
files
minFiles
absolutePath
private void <init>(org.apache.cassandra.db.lifecycle.LogRecord$Type, long);
descriptor: (Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
lload 2
iconst_0
lconst_0
aconst_null
invokespecial org.apache.cassandra.db.lifecycle.LogRecord.<init>:(Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;Ljava/lang/String;JIJLjava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
0 2 1 type Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
0 2 2 updateTime J
MethodParameters:
Name Flags
type
updateTime
private void <init>(org.apache.cassandra.db.lifecycle.LogRecord$Type, java.lang.String, long, int);
descriptor: (Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;Ljava/lang/String;JI)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: aload 0
aload 1
aload 2
lload 3
iload 5
lconst_0
aconst_null
invokespecial org.apache.cassandra.db.lifecycle.LogRecord.<init>:(Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;Ljava/lang/String;JIJLjava/lang/String;)V
1: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
0 2 1 type Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
0 2 2 absolutePath Ljava/lang/String;
0 2 3 updateTime J
0 2 5 numFiles I
MethodParameters:
Name Flags
type
absolutePath
updateTime
numFiles
private void <init>(org.apache.cassandra.db.lifecycle.LogRecord$Type, java.lang.String, long, int, long, java.lang.String);
descriptor: (Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;Ljava/lang/String;JIJLjava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 5 start local 6 start local 8 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: getstatic org.apache.cassandra.db.lifecycle.LogRecord.$assertionsDisabled:Z
ifne 2
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.LogRecord$Type.hasFile:()Z
ifeq 2
aload 2
ifnonnull 2
new java.lang.AssertionError
dup
ldc "Expected file path for file records"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: org.apache.cassandra.db.lifecycle.LogRecord org.apache.cassandra.db.lifecycle.LogRecord$Type java.lang.String long int long java.lang.String
StackMap stack:
aload 0
aload 1
putfield org.apache.cassandra.db.lifecycle.LogRecord.type:Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
3: aload 0
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.LogRecord$Type.hasFile:()Z
ifeq 4
aload 2
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
goto 5
StackMap locals:
StackMap stack: org.apache.cassandra.db.lifecycle.LogRecord
4: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
StackMap locals: org.apache.cassandra.db.lifecycle.LogRecord org.apache.cassandra.db.lifecycle.LogRecord$Type java.lang.String long int long java.lang.String
StackMap stack: org.apache.cassandra.db.lifecycle.LogRecord java.util.Optional
5: putfield org.apache.cassandra.db.lifecycle.LogRecord.absolutePath:Ljava/util/Optional;
6: aload 0
aload 1
getstatic org.apache.cassandra.db.lifecycle.LogRecord$Type.REMOVE:Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
if_acmpne 7
lload 3
goto 8
StackMap locals:
StackMap stack: org.apache.cassandra.db.lifecycle.LogRecord
7: lconst_0
StackMap locals: org.apache.cassandra.db.lifecycle.LogRecord org.apache.cassandra.db.lifecycle.LogRecord$Type java.lang.String long int long java.lang.String
StackMap stack: org.apache.cassandra.db.lifecycle.LogRecord long
8: putfield org.apache.cassandra.db.lifecycle.LogRecord.updateTime:J
9: aload 0
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.LogRecord$Type.hasFile:()Z
ifeq 10
iload 5
goto 11
StackMap locals:
StackMap stack: org.apache.cassandra.db.lifecycle.LogRecord
10: iconst_0
StackMap locals: org.apache.cassandra.db.lifecycle.LogRecord org.apache.cassandra.db.lifecycle.LogRecord$Type java.lang.String long int long java.lang.String
StackMap stack: org.apache.cassandra.db.lifecycle.LogRecord int
11: putfield org.apache.cassandra.db.lifecycle.LogRecord.numFiles:I
12: aload 0
new org.apache.cassandra.db.lifecycle.LogRecord$Status
dup
invokespecial org.apache.cassandra.db.lifecycle.LogRecord$Status.<init>:()V
putfield org.apache.cassandra.db.lifecycle.LogRecord.status:Lorg/apache/cassandra/db/lifecycle/LogRecord$Status;
13: aload 8
ifnonnull 18
14: getstatic org.apache.cassandra.db.lifecycle.LogRecord.$assertionsDisabled:Z
ifne 15
lload 6
lconst_0
lcmp
ifeq 15
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
15: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual org.apache.cassandra.db.lifecycle.LogRecord.computeChecksum:()J
putfield org.apache.cassandra.db.lifecycle.LogRecord.checksum:J
16: aload 0
aload 0
invokevirtual org.apache.cassandra.db.lifecycle.LogRecord.format:()Ljava/lang/String;
putfield org.apache.cassandra.db.lifecycle.LogRecord.raw:Ljava/lang/String;
17: goto 20
18: StackMap locals:
StackMap stack:
aload 0
lload 6
putfield org.apache.cassandra.db.lifecycle.LogRecord.checksum:J
19: aload 0
aload 8
putfield org.apache.cassandra.db.lifecycle.LogRecord.raw:Ljava/lang/String;
20: StackMap locals:
StackMap stack:
return
end local 8 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
0 21 1 type Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
0 21 2 absolutePath Ljava/lang/String;
0 21 3 updateTime J
0 21 5 numFiles I
0 21 6 checksum J
0 21 8 raw Ljava/lang/String;
MethodParameters:
Name Flags
type
absolutePath
updateTime
numFiles
checksum
raw
org.apache.cassandra.db.lifecycle.LogRecord setError(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/db/lifecycle/LogRecord;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.status:Lorg/apache/cassandra/db/lifecycle/LogRecord$Status;
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.LogRecord$Status.setError:(Ljava/lang/String;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
0 2 1 error Ljava/lang/String;
MethodParameters:
Name Flags
error
java.lang.String error();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.status:Lorg/apache/cassandra/db/lifecycle/LogRecord$Status;
getfield org.apache.cassandra.db.lifecycle.LogRecord$Status.error:Ljava/util/Optional;
ldc ""
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
void setPartial();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.status:Lorg/apache/cassandra/db/lifecycle/LogRecord$Status;
iconst_1
putfield org.apache.cassandra.db.lifecycle.LogRecord$Status.partial:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
boolean partial();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.status:Lorg/apache/cassandra/db/lifecycle/LogRecord$Status;
getfield org.apache.cassandra.db.lifecycle.LogRecord$Status.partial:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
boolean isValid();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.status:Lorg/apache/cassandra/db/lifecycle/LogRecord$Status;
invokevirtual org.apache.cassandra.db.lifecycle.LogRecord$Status.hasError:()Z
ifne 1
aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.type:Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
getstatic org.apache.cassandra.db.lifecycle.LogRecord$Type.UNKNOWN:Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
if_acmpeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
boolean isInvalid();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.lifecycle.LogRecord.isValid:()Z
ifeq 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 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
boolean isInvalidOrPartial();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.lifecycle.LogRecord.isInvalid:()Z
ifne 1
aload 0
invokevirtual org.apache.cassandra.db.lifecycle.LogRecord.partial:()Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
private java.lang.String format();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=1, args_size=1
start local 0 0: ldc "%s:[%s,%d,%d][%d]"
iconst_5
anewarray java.lang.Object
dup
iconst_0
1: aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.type:Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
invokevirtual org.apache.cassandra.db.lifecycle.LogRecord$Type.toString:()Ljava/lang/String;
aastore
dup
iconst_1
2: aload 0
invokevirtual org.apache.cassandra.db.lifecycle.LogRecord.absolutePath:()Ljava/lang/String;
aastore
dup
iconst_2
3: aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.updateTime:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_3
4: aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.numFiles:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
5: aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.checksum:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
6: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
public java.util.List<java.io.File> getExistingFiles();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.db.lifecycle.LogRecord.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.absolutePath:Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ifne 1
new java.lang.AssertionError
dup
ldc "Expected a path in order to get existing files"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.absolutePath:Ljava/util/Optional;
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic org.apache.cassandra.db.lifecycle.LogRecord.getExistingFiles:(Ljava/lang/String;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
Signature: ()Ljava/util/List<Ljava/io/File;>;
public static java.util.List<java.io.File> getExistingFiles(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 1
start local 1 1: aload 1
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
aload 1
invokedynamic accept(Ljava/nio/file/Path;)Ljava/io/FilenameFilter;
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/io/File;Ljava/lang/String;)Z
org/apache/cassandra/db/lifecycle/LogRecord.lambda$3(Ljava/nio/file/Path;Ljava/io/File;Ljava/lang/String;)Z (6)
(Ljava/io/File;Ljava/lang/String;)Z
invokevirtual java.io.File.listFiles:(Ljava/io/FilenameFilter;)[Ljava/io/File;
astore 2
start local 2 2: aload 2
ifnonnull 3
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
goto 4
StackMap locals: java.nio.file.Path java.io.File[]
StackMap stack:
3: aload 2
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
StackMap locals:
StackMap stack: java.util.List
4: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 absoluteFilePath Ljava/lang/String;
1 5 1 path Ljava/nio/file/Path;
2 5 2 files [Ljava/io/File;
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/io/File;>;
MethodParameters:
Name Flags
absoluteFilePath
public static java.util.Map<java.lang.String, java.util.List<java.io.File>> getExistingFiles(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
invokedynamic apply()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/db/lifecycle/LogRecord.lambda$4(Ljava/lang/String;)Ljava/io/File; (6)
(Ljava/lang/String;)Ljava/io/File;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
astore 1
start local 1 1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 2: aload 0
aload 2
invokedynamic accept(Ljava/util/Set;Ljava/util/Map;)Ljava/io/FilenameFilter;
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/io/File;Ljava/lang/String;)Z
org/apache/cassandra/db/lifecycle/LogRecord.lambda$5(Ljava/util/Set;Ljava/util/Map;Ljava/io/File;Ljava/lang/String;)Z (6)
(Ljava/io/File;Ljava/lang/String;)Z
astore 3
start local 3 3: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: java.util.Set java.util.Set java.util.Map java.io.FilenameFilter top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.io.File
astore 4
start local 4 5: aload 4
aload 3
invokevirtual java.io.File.listFiles:(Ljava/io/FilenameFilter;)[Ljava/io/File;
pop
end local 4 6: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 absoluteFilePaths Ljava/util/Set<Ljava/lang/String;>;
1 8 1 uniqueDirectories Ljava/util/Set<Ljava/io/File;>;
2 8 2 fileMap Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/io/File;>;>;
3 8 3 ff Ljava/io/FilenameFilter;
5 6 4 f Ljava/io/File;
Signature: (Ljava/util/Set<Ljava/lang/String;>;)Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/io/File;>;>;
MethodParameters:
Name Flags
absoluteFilePaths
public boolean isFinal();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.type:Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
invokevirtual org.apache.cassandra.db.lifecycle.LogRecord$Type.isFinal:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
java.lang.String fileName();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.absolutePath:Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ifeq 1
aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.absolutePath:Ljava/util/Optional;
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.String
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: ldc ""
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
boolean isInFolder(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.absolutePath:Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ifeq 2
1: aload 1
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.absolutePath:Ljava/util/Optional;
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.String
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
invokestatic org.apache.cassandra.io.util.FileUtils.isContained:(Ljava/io/File;Ljava/io/File;)Z
goto 3
2: StackMap locals:
StackMap stack:
iconst_0
3: StackMap locals:
StackMap stack: int
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
0 4 1 folder Ljava/nio/file/Path;
MethodParameters:
Name Flags
folder
private java.lang.String absolutePath();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.absolutePath:Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ifne 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.absolutePath:Ljava/util/Optional;
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 3: getstatic org.apache.cassandra.db.lifecycle.LogRecord.$assertionsDisabled:Z
ifne 4
aload 1
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 45
if_icmpeq 4
new java.lang.AssertionError
dup
ldc "Invalid absolute path, should end with '-'"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals: java.lang.String
StackMap stack:
aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
3 5 1 ret Ljava/lang/String;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.type:Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.absolutePath:Ljava/util/Optional;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.numFiles:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.updateTime:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic java.util.Objects.hash:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.apache.cassandra.db.lifecycle.LogRecord
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.db.lifecycle.LogRecord
astore 2
start local 2 3: aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.type:Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
aload 2
getfield org.apache.cassandra.db.lifecycle.LogRecord.type:Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
if_acmpne 8
4: aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.absolutePath:Ljava/util/Optional;
aload 2
getfield org.apache.cassandra.db.lifecycle.LogRecord.absolutePath:Ljava/util/Optional;
invokevirtual java.util.Optional.equals:(Ljava/lang/Object;)Z
ifeq 8
5: aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.numFiles:I
aload 2
getfield org.apache.cassandra.db.lifecycle.LogRecord.numFiles:I
if_icmpne 8
6: aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.updateTime:J
aload 2
getfield org.apache.cassandra.db.lifecycle.LogRecord.updateTime:J
lcmp
ifne 8
7: iconst_1
ireturn
StackMap locals: org.apache.cassandra.db.lifecycle.LogRecord
StackMap stack:
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
0 9 1 obj Ljava/lang/Object;
3 9 2 other Lorg/apache/cassandra/db/lifecycle/LogRecord;
MethodParameters:
Name Flags
obj
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.raw:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
long computeChecksum();
descriptor: ()J
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.util.zip.CRC32
dup
invokespecial java.util.zip.CRC32.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual org.apache.cassandra.db.lifecycle.LogRecord.absolutePath:()Ljava/lang/String;
getstatic org.apache.cassandra.io.util.FileUtils.CHARSET:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
invokevirtual java.util.zip.CRC32.update:([B)V
2: aload 1
aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.type:Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
invokevirtual org.apache.cassandra.db.lifecycle.LogRecord$Type.toString:()Ljava/lang/String;
getstatic org.apache.cassandra.io.util.FileUtils.CHARSET:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
invokevirtual java.util.zip.CRC32.update:([B)V
3: aload 1
aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.updateTime:J
l2i
invokestatic org.apache.cassandra.utils.FBUtilities.updateChecksumInt:(Ljava/util/zip/Checksum;I)V
4: aload 1
aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.updateTime:J
bipush 32
lushr
l2i
invokestatic org.apache.cassandra.utils.FBUtilities.updateChecksumInt:(Ljava/util/zip/Checksum;I)V
5: aload 1
aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.numFiles:I
invokestatic org.apache.cassandra.utils.FBUtilities.updateChecksumInt:(Ljava/util/zip/Checksum;I)V
6: aload 1
invokevirtual java.util.zip.CRC32.getValue:()J
ldc 9223372036854775807
land
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
1 7 1 crc32 Ljava/util/zip/CRC32;
org.apache.cassandra.db.lifecycle.LogRecord asType(org.apache.cassandra.db.lifecycle.LogRecord$Type);
descriptor: (Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;)Lorg/apache/cassandra/db/lifecycle/LogRecord;
flags: (0x0000)
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.db.lifecycle.LogRecord
dup
aload 1
aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.absolutePath:Ljava/util/Optional;
aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.updateTime:J
aload 0
getfield org.apache.cassandra.db.lifecycle.LogRecord.numFiles:I
invokespecial org.apache.cassandra.db.lifecycle.LogRecord.<init>:(Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;Ljava/lang/String;JI)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/lifecycle/LogRecord;
0 1 1 type Lorg/apache/cassandra/db/lifecycle/LogRecord$Type;
MethodParameters:
Name Flags
type
private static boolean lambda$1(java.lang.Long);
descriptor: (Ljava/lang/Long;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Long.longValue:()J
lconst_0
lcmp
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 lm Ljava/lang/Long;
private static boolean lambda$3(java.nio.file.Path, java.io.File, java.lang.String);
descriptor: (Ljava/nio/file/Path;Ljava/io/File;Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 1 start local 2 0: aload 2
aload 0
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ireturn
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 dir Ljava/io/File;
0 1 2 name Ljava/lang/String;
private static java.io.File lambda$4(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/File;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/lang/String;
private static boolean lambda$5(java.util.Set, java.util.Map, java.io.File, java.lang.String);
descriptor: (Ljava/util/Set;Ljava/util/Map;Ljava/io/File;Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=6, args_size=4
start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 2
aload 3
invokestatic org.apache.cassandra.io.sstable.Descriptor.fromFilename:(Ljava/io/File;Ljava/lang/String;)Lorg/apache/cassandra/utils/Pair;
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.Descriptor
astore 4
2: goto 4
3: StackMap locals: java.util.Set java.util.Map java.io.File java.lang.String org.apache.cassandra.io.sstable.Descriptor
StackMap stack: java.lang.Throwable
pop
4: StackMap locals:
StackMap stack:
aload 4
ifnull 5
aload 4
invokevirtual org.apache.cassandra.io.sstable.Descriptor.baseFilename:()Ljava/lang/String;
invokestatic org.apache.cassandra.db.lifecycle.LogRecord.absolutePath:(Ljava/lang/String;)Ljava/lang/String;
goto 6
StackMap locals:
StackMap stack:
5: aconst_null
StackMap locals:
StackMap stack: java.lang.String
6: astore 5
start local 5 7: aload 5
ifnull 9
aload 0
aload 5
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 9
8: aload 1
aload 5
invokedynamic apply()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/db/lifecycle/LogRecord.lambda$6(Ljava/lang/String;)Ljava/util/List; (6)
(Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.util.List
new java.io.File
dup
aload 2
aload 3
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: StackMap locals: java.lang.String
StackMap stack:
iconst_0
ireturn
end local 5 end local 4 end local 3 end local 2 LocalVariableTable:
Start End Slot Name Signature
0 10 2 dir Ljava/io/File;
0 10 3 name Ljava/lang/String;
1 10 4 descriptor Lorg/apache/cassandra/io/sstable/Descriptor;
7 10 5 absolutePath Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.lang.Throwable
private static java.util.List lambda$6(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 k Ljava/lang/String;
}
SourceFile: "LogRecord.java"
NestMembers:
org.apache.cassandra.db.lifecycle.LogRecord$Status org.apache.cassandra.db.lifecycle.LogRecord$Type
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
public final Status = org.apache.cassandra.db.lifecycle.LogRecord$Status of org.apache.cassandra.db.lifecycle.LogRecord
public final Type = org.apache.cassandra.db.lifecycle.LogRecord$Type of org.apache.cassandra.db.lifecycle.LogRecord