class org.apache.cassandra.cache.AutoSavingCache$1 implements org.apache.cassandra.cache.AutoSavingCache$IStreamFactory
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.cache.AutoSavingCache$1
super_class: java.lang.Object
{
private final org.apache.cassandra.io.util.SequentialWriterOption writerOption;
descriptor: Lorg/apache/cassandra/io/util/SequentialWriterOption;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 // org.apache.cassandra.cache.AutoSavingCache$1 this
0: .line 86
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 88
aload 0 /* this */
invokestatic org.apache.cassandra.io.util.SequentialWriterOption.newBuilder:()Lorg/apache/cassandra/io/util/SequentialWriterOption$Builder;
2: .line 89
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getTrickleFsync:()Z
invokevirtual org.apache.cassandra.io.util.SequentialWriterOption$Builder.trickleFsync:(Z)Lorg/apache/cassandra/io/util/SequentialWriterOption$Builder;
3: .line 90
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getTrickleFsyncIntervalInKb:()I
sipush 1024
imul
invokevirtual org.apache.cassandra.io.util.SequentialWriterOption$Builder.trickleFsyncByteInterval:(I)Lorg/apache/cassandra/io/util/SequentialWriterOption$Builder;
4: .line 91
iconst_1
invokevirtual org.apache.cassandra.io.util.SequentialWriterOption$Builder.finishOnClose:(Z)Lorg/apache/cassandra/io/util/SequentialWriterOption$Builder;
invokevirtual org.apache.cassandra.io.util.SequentialWriterOption$Builder.build:()Lorg/apache/cassandra/io/util/SequentialWriterOption;
putfield org.apache.cassandra.cache.AutoSavingCache$1.writerOption:Lorg/apache/cassandra/io/util/SequentialWriterOption;
5: .line 86
return
end local 0 // org.apache.cassandra.cache.AutoSavingCache$1 this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/cache/AutoSavingCache$1;
public java.io.InputStream getInputStream(java.io.File, java.io.File);
descriptor: (Ljava/io/File;Ljava/io/File;)Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 // org.apache.cassandra.cache.AutoSavingCache$1 this
start local 1 // java.io.File dataPath
start local 2 // java.io.File crcPath
0: .line 95
aload 1 /* dataPath */
aload 2 /* crcPath */
invokestatic org.apache.cassandra.io.util.ChecksummedRandomAccessReader.open:(Ljava/io/File;Ljava/io/File;)Lorg/apache/cassandra/io/util/RandomAccessReader;
areturn
end local 2 // java.io.File crcPath
end local 1 // java.io.File dataPath
end local 0 // org.apache.cassandra.cache.AutoSavingCache$1 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/AutoSavingCache$1;
0 1 1 dataPath Ljava/io/File;
0 1 2 crcPath Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dataPath
crcPath
public java.io.OutputStream getOutputStream(java.io.File, java.io.File);
descriptor: (Ljava/io/File;Ljava/io/File;)Ljava/io/OutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 // org.apache.cassandra.cache.AutoSavingCache$1 this
start local 1 // java.io.File dataPath
start local 2 // java.io.File crcPath
0: .line 100
new org.apache.cassandra.io.util.ChecksummedSequentialWriter
dup
aload 1 /* dataPath */
aload 2 /* crcPath */
aconst_null
aload 0 /* this */
getfield org.apache.cassandra.cache.AutoSavingCache$1.writerOption:Lorg/apache/cassandra/io/util/SequentialWriterOption;
invokespecial org.apache.cassandra.io.util.ChecksummedSequentialWriter.<init>:(Ljava/io/File;Ljava/io/File;Ljava/io/File;Lorg/apache/cassandra/io/util/SequentialWriterOption;)V
areturn
end local 2 // java.io.File crcPath
end local 1 // java.io.File dataPath
end local 0 // org.apache.cassandra.cache.AutoSavingCache$1 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/AutoSavingCache$1;
0 1 1 dataPath Ljava/io/File;
0 1 2 crcPath Ljava/io/File;
MethodParameters:
Name Flags
dataPath
crcPath
}
SourceFile: "AutoSavingCache.java"
EnclosingMethod: org.apache.cassandra.cache.AutoSavingCache
NestHost: org.apache.cassandra.cache.AutoSavingCache
InnerClasses:
org.apache.cassandra.cache.AutoSavingCache$1
public abstract IStreamFactory = org.apache.cassandra.cache.AutoSavingCache$IStreamFactory of org.apache.cassandra.cache.AutoSavingCache
public Builder = org.apache.cassandra.io.util.SequentialWriterOption$Builder of org.apache.cassandra.io.util.SequentialWriterOption