public class org.apache.cassandra.io.util.FileHandle$Builder implements java.lang.AutoCloseable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.io.util.FileHandle$Builder
super_class: java.lang.Object
{
private final java.lang.String path;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.apache.cassandra.io.util.ChannelProxy channel;
descriptor: Lorg/apache/cassandra/io/util/ChannelProxy;
flags: (0x0002) ACC_PRIVATE
private org.apache.cassandra.io.compress.CompressionMetadata compressionMetadata;
descriptor: Lorg/apache/cassandra/io/compress/CompressionMetadata;
flags: (0x0002) ACC_PRIVATE
private org.apache.cassandra.io.util.MmappedRegions regions;
descriptor: Lorg/apache/cassandra/io/util/MmappedRegions;
flags: (0x0002) ACC_PRIVATE
private org.apache.cassandra.cache.ChunkCache chunkCache;
descriptor: Lorg/apache/cassandra/cache/ChunkCache;
flags: (0x0002) ACC_PRIVATE
private int bufferSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private org.apache.cassandra.io.compress.BufferType bufferType;
descriptor: Lorg/apache/cassandra/io/compress/BufferType;
flags: (0x0002) ACC_PRIVATE
private boolean mmapped;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean compressed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
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
sipush 4096
putfield org.apache.cassandra.io.util.FileHandle$Builder.bufferSize:I
2: aload 0
getstatic org.apache.cassandra.io.compress.BufferType.OFF_HEAP:Lorg/apache/cassandra/io/compress/BufferType;
putfield org.apache.cassandra.io.util.FileHandle$Builder.bufferType:Lorg/apache/cassandra/io/compress/BufferType;
3: aload 0
iconst_0
putfield org.apache.cassandra.io.util.FileHandle$Builder.mmapped:Z
4: aload 0
iconst_0
putfield org.apache.cassandra.io.util.FileHandle$Builder.compressed:Z
5: aload 0
aload 1
putfield org.apache.cassandra.io.util.FileHandle$Builder.path:Ljava/lang/String;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/io/util/FileHandle$Builder;
0 7 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public void <init>(org.apache.cassandra.io.util.ChannelProxy);
descriptor: (Lorg/apache/cassandra/io/util/ChannelProxy;)V
flags: (0x0001) ACC_PUBLIC
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
sipush 4096
putfield org.apache.cassandra.io.util.FileHandle$Builder.bufferSize:I
2: aload 0
getstatic org.apache.cassandra.io.compress.BufferType.OFF_HEAP:Lorg/apache/cassandra/io/compress/BufferType;
putfield org.apache.cassandra.io.util.FileHandle$Builder.bufferType:Lorg/apache/cassandra/io/compress/BufferType;
3: aload 0
iconst_0
putfield org.apache.cassandra.io.util.FileHandle$Builder.mmapped:Z
4: aload 0
iconst_0
putfield org.apache.cassandra.io.util.FileHandle$Builder.compressed:Z
5: aload 0
aload 1
putfield org.apache.cassandra.io.util.FileHandle$Builder.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
6: aload 0
aload 1
invokevirtual org.apache.cassandra.io.util.ChannelProxy.filePath:()Ljava/lang/String;
putfield org.apache.cassandra.io.util.FileHandle$Builder.path:Ljava/lang/String;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/io/util/FileHandle$Builder;
0 8 1 channel Lorg/apache/cassandra/io/util/ChannelProxy;
MethodParameters:
Name Flags
channel
public org.apache.cassandra.io.util.FileHandle$Builder compressed(boolean);
descriptor: (Z)Lorg/apache/cassandra/io/util/FileHandle$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.cassandra.io.util.FileHandle$Builder.compressed:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/FileHandle$Builder;
0 2 1 compressed Z
MethodParameters:
Name Flags
compressed
public org.apache.cassandra.io.util.FileHandle$Builder withChunkCache(org.apache.cassandra.cache.ChunkCache);
descriptor: (Lorg/apache/cassandra/cache/ChunkCache;)Lorg/apache/cassandra/io/util/FileHandle$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.cassandra.io.util.FileHandle$Builder.chunkCache:Lorg/apache/cassandra/cache/ChunkCache;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/FileHandle$Builder;
0 2 1 chunkCache Lorg/apache/cassandra/cache/ChunkCache;
MethodParameters:
Name Flags
chunkCache
public org.apache.cassandra.io.util.FileHandle$Builder withCompressionMetadata(org.apache.cassandra.io.compress.CompressionMetadata);
descriptor: (Lorg/apache/cassandra/io/compress/CompressionMetadata;)Lorg/apache/cassandra/io/util/FileHandle$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Objects.nonNull:(Ljava/lang/Object;)Z
putfield org.apache.cassandra.io.util.FileHandle$Builder.compressed:Z
1: aload 0
aload 1
putfield org.apache.cassandra.io.util.FileHandle$Builder.compressionMetadata:Lorg/apache/cassandra/io/compress/CompressionMetadata;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/io/util/FileHandle$Builder;
0 3 1 metadata Lorg/apache/cassandra/io/compress/CompressionMetadata;
MethodParameters:
Name Flags
metadata
public org.apache.cassandra.io.util.FileHandle$Builder mmapped(boolean);
descriptor: (Z)Lorg/apache/cassandra/io/util/FileHandle$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.cassandra.io.util.FileHandle$Builder.mmapped:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/FileHandle$Builder;
0 2 1 mmapped Z
MethodParameters:
Name Flags
mmapped
public org.apache.cassandra.io.util.FileHandle$Builder bufferSize(int);
descriptor: (I)Lorg/apache/cassandra/io/util/FileHandle$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.cassandra.io.util.FileHandle$Builder.bufferSize:I
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/FileHandle$Builder;
0 2 1 bufferSize I
MethodParameters:
Name Flags
bufferSize
public org.apache.cassandra.io.util.FileHandle$Builder bufferType(org.apache.cassandra.io.compress.BufferType);
descriptor: (Lorg/apache/cassandra/io/compress/BufferType;)Lorg/apache/cassandra/io/util/FileHandle$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.cassandra.io.util.FileHandle$Builder.bufferType:Lorg/apache/cassandra/io/compress/BufferType;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/FileHandle$Builder;
0 2 1 bufferType Lorg/apache/cassandra/io/compress/BufferType;
MethodParameters:
Name Flags
bufferType
public org.apache.cassandra.io.util.FileHandle complete();
descriptor: ()Lorg/apache/cassandra/io/util/FileHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc -1
invokevirtual org.apache.cassandra.io.util.FileHandle$Builder.complete:(J)Lorg/apache/cassandra/io/util/FileHandle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/FileHandle$Builder;
public org.apache.cassandra.io.util.FileHandle complete(long);
descriptor: (J)Lorg/apache/cassandra/io/util/FileHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
ifnonnull 2
1: aload 0
new org.apache.cassandra.io.util.ChannelProxy
dup
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.path:Ljava/lang/String;
invokespecial org.apache.cassandra.io.util.ChannelProxy.<init>:(Ljava/lang/String;)V
putfield org.apache.cassandra.io.util.FileHandle$Builder.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
invokevirtual org.apache.cassandra.io.util.ChannelProxy.sharedCopy:()Lorg/apache/cassandra/io/util/ChannelProxy;
astore 3
start local 3 3: aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.compressed:Z
ifeq 5
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.compressionMetadata:Lorg/apache/cassandra/io/compress/CompressionMetadata;
ifnonnull 5
4: aload 0
aload 3
invokevirtual org.apache.cassandra.io.util.ChannelProxy.filePath:()Ljava/lang/String;
invokestatic org.apache.cassandra.io.compress.CompressionMetadata.create:(Ljava/lang/String;)Lorg/apache/cassandra/io/compress/CompressionMetadata;
putfield org.apache.cassandra.io.util.FileHandle$Builder.compressionMetadata:Lorg/apache/cassandra/io/compress/CompressionMetadata;
5: StackMap locals: org.apache.cassandra.io.util.ChannelProxy
StackMap stack:
lload 1
lconst_0
lcmp
ifle 6
lload 1
goto 8
StackMap locals:
StackMap stack:
6: aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.compressed:Z
ifeq 7
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.compressionMetadata:Lorg/apache/cassandra/io/compress/CompressionMetadata;
getfield org.apache.cassandra.io.compress.CompressionMetadata.compressedFileLength:J
goto 8
StackMap locals:
StackMap stack:
7: aload 3
invokevirtual org.apache.cassandra.io.util.ChannelProxy.size:()J
StackMap locals:
StackMap stack: long
8: lstore 4
start local 4 9: aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.mmapped:Z
ifeq 19
10: aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.compressed:Z
ifeq 16
11: aload 0
aload 3
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.compressionMetadata:Lorg/apache/cassandra/io/compress/CompressionMetadata;
invokestatic org.apache.cassandra.io.util.MmappedRegions.map:(Lorg/apache/cassandra/io/util/ChannelProxy;Lorg/apache/cassandra/io/compress/CompressionMetadata;)Lorg/apache/cassandra/io/util/MmappedRegions;
putfield org.apache.cassandra.io.util.FileHandle$Builder.regions:Lorg/apache/cassandra/io/util/MmappedRegions;
12: aload 0
new org.apache.cassandra.io.util.CompressedChunkReader$Mmap
dup
aload 3
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.compressionMetadata:Lorg/apache/cassandra/io/compress/CompressionMetadata;
13: aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.regions:Lorg/apache/cassandra/io/util/MmappedRegions;
invokespecial org.apache.cassandra.io.util.CompressedChunkReader$Mmap.<init>:(Lorg/apache/cassandra/io/util/ChannelProxy;Lorg/apache/cassandra/io/compress/CompressionMetadata;Lorg/apache/cassandra/io/util/MmappedRegions;)V
14: invokevirtual org.apache.cassandra.io.util.FileHandle$Builder.maybeCached:(Lorg/apache/cassandra/io/util/ChunkReader;)Lorg/apache/cassandra/io/util/RebuffererFactory;
astore 6
start local 6 15: goto 25
end local 6 16: StackMap locals: long
StackMap stack:
aload 0
aload 3
lload 4
invokevirtual org.apache.cassandra.io.util.FileHandle$Builder.updateRegions:(Lorg/apache/cassandra/io/util/ChannelProxy;J)V
17: new org.apache.cassandra.io.util.MmapRebufferer
dup
aload 3
lload 4
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.regions:Lorg/apache/cassandra/io/util/MmappedRegions;
invokevirtual org.apache.cassandra.io.util.MmappedRegions.sharedCopy:()Lorg/apache/cassandra/io/util/MmappedRegions;
invokespecial org.apache.cassandra.io.util.MmapRebufferer.<init>:(Lorg/apache/cassandra/io/util/ChannelProxy;JLorg/apache/cassandra/io/util/MmappedRegions;)V
astore 6
start local 6 18: goto 25
end local 6 19: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.cassandra.io.util.FileHandle$Builder.regions:Lorg/apache/cassandra/io/util/MmappedRegions;
20: aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.compressed:Z
ifeq 23
21: aload 0
new org.apache.cassandra.io.util.CompressedChunkReader$Standard
dup
aload 3
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.compressionMetadata:Lorg/apache/cassandra/io/compress/CompressionMetadata;
invokespecial org.apache.cassandra.io.util.CompressedChunkReader$Standard.<init>:(Lorg/apache/cassandra/io/util/ChannelProxy;Lorg/apache/cassandra/io/compress/CompressionMetadata;)V
invokevirtual org.apache.cassandra.io.util.FileHandle$Builder.maybeCached:(Lorg/apache/cassandra/io/util/ChunkReader;)Lorg/apache/cassandra/io/util/RebuffererFactory;
astore 6
start local 6 22: goto 25
end local 6 23: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.bufferSize:I
getstatic org.apache.cassandra.cache.ChunkCache.roundUp:Z
invokestatic org.apache.cassandra.io.util.DiskOptimizationStrategy.roundForCaching:(IZ)I
istore 7
start local 7 24: aload 0
new org.apache.cassandra.io.util.SimpleChunkReader
dup
aload 3
lload 4
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.bufferType:Lorg/apache/cassandra/io/compress/BufferType;
iload 7
invokespecial org.apache.cassandra.io.util.SimpleChunkReader.<init>:(Lorg/apache/cassandra/io/util/ChannelProxy;JLorg/apache/cassandra/io/compress/BufferType;I)V
invokevirtual org.apache.cassandra.io.util.FileHandle$Builder.maybeCached:(Lorg/apache/cassandra/io/util/ChunkReader;)Lorg/apache/cassandra/io/util/RebuffererFactory;
astore 6
end local 7 start local 6 25: StackMap locals: org.apache.cassandra.io.util.RebuffererFactory
StackMap stack:
new org.apache.cassandra.io.util.FileHandle$Cleanup
dup
aload 3
aload 6
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.compressionMetadata:Lorg/apache/cassandra/io/compress/CompressionMetadata;
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.chunkCache:Lorg/apache/cassandra/cache/ChunkCache;
invokespecial org.apache.cassandra.io.util.FileHandle$Cleanup.<init>:(Lorg/apache/cassandra/io/util/ChannelProxy;Lorg/apache/cassandra/io/util/RebuffererFactory;Lorg/apache/cassandra/io/compress/CompressionMetadata;Lorg/apache/cassandra/cache/ChunkCache;)V
astore 7
start local 7 26: new org.apache.cassandra.io.util.FileHandle
dup
aload 7
aload 3
aload 6
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.compressionMetadata:Lorg/apache/cassandra/io/compress/CompressionMetadata;
lload 4
invokespecial org.apache.cassandra.io.util.FileHandle.<init>:(Lorg/apache/cassandra/io/util/FileHandle$Cleanup;Lorg/apache/cassandra/io/util/ChannelProxy;Lorg/apache/cassandra/io/util/RebuffererFactory;Lorg/apache/cassandra/io/compress/CompressionMetadata;J)V
27: areturn
end local 7 end local 6 end local 4 28: StackMap locals: org.apache.cassandra.io.util.FileHandle$Builder long org.apache.cassandra.io.util.ChannelProxy
StackMap stack: java.lang.Throwable
astore 4
start local 4 29: aload 3
invokevirtual org.apache.cassandra.io.util.ChannelProxy.close:()V
30: aload 4
athrow
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/apache/cassandra/io/util/FileHandle$Builder;
0 31 1 overrideLength J
3 31 3 channelCopy Lorg/apache/cassandra/io/util/ChannelProxy;
9 28 4 length J
15 16 6 rebuffererFactory Lorg/apache/cassandra/io/util/RebuffererFactory;
18 19 6 rebuffererFactory Lorg/apache/cassandra/io/util/RebuffererFactory;
22 23 6 rebuffererFactory Lorg/apache/cassandra/io/util/RebuffererFactory;
25 28 6 rebuffererFactory Lorg/apache/cassandra/io/util/RebuffererFactory;
24 25 7 chunkSize I
26 28 7 cleanup Lorg/apache/cassandra/io/util/FileHandle$Cleanup;
29 31 4 t Ljava/lang/Throwable;
Exception table:
from to target type
3 27 28 Class java.lang.Throwable
MethodParameters:
Name Flags
overrideLength
public java.lang.Throwable close(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
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.io.util.FileHandle$Builder.compressed:Z
ifne 2
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.regions:Lorg/apache/cassandra/io/util/MmappedRegions;
ifnull 2
1: aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.regions:Lorg/apache/cassandra/io/util/MmappedRegions;
aload 1
invokevirtual org.apache.cassandra.io.util.MmappedRegions.close:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
ifnull 4
3: aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
aload 1
invokevirtual org.apache.cassandra.io.util.ChannelProxy.close:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
areturn
4: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/io/util/FileHandle$Builder;
0 5 1 accumulate Ljava/lang/Throwable;
MethodParameters:
Name Flags
accumulate
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual org.apache.cassandra.io.util.FileHandle$Builder.close:(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 this Lorg/apache/cassandra/io/util/FileHandle$Builder;
private org.apache.cassandra.io.util.RebuffererFactory maybeCached(org.apache.cassandra.io.util.ChunkReader);
descriptor: (Lorg/apache/cassandra/io/util/ChunkReader;)Lorg/apache/cassandra/io/util/RebuffererFactory;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.chunkCache:Lorg/apache/cassandra/cache/ChunkCache;
ifnull 2
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.chunkCache:Lorg/apache/cassandra/cache/ChunkCache;
invokevirtual org.apache.cassandra.cache.ChunkCache.capacity:()J
lconst_0
lcmp
ifle 2
1: aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.chunkCache:Lorg/apache/cassandra/cache/ChunkCache;
aload 1
invokevirtual org.apache.cassandra.cache.ChunkCache.wrap:(Lorg/apache/cassandra/io/util/ChunkReader;)Lorg/apache/cassandra/io/util/RebuffererFactory;
areturn
2: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/io/util/FileHandle$Builder;
0 3 1 reader Lorg/apache/cassandra/io/util/ChunkReader;
MethodParameters:
Name Flags
reader
private void updateRegions(org.apache.cassandra.io.util.ChannelProxy, long);
descriptor: (Lorg/apache/cassandra/io/util/ChannelProxy;J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.regions:Lorg/apache/cassandra/io/util/MmappedRegions;
ifnull 5
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.regions:Lorg/apache/cassandra/io/util/MmappedRegions;
aload 1
invokevirtual org.apache.cassandra.io.util.MmappedRegions.isValid:(Lorg/apache/cassandra/io/util/ChannelProxy;)Z
ifne 5
1: aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.regions:Lorg/apache/cassandra/io/util/MmappedRegions;
aconst_null
invokevirtual org.apache.cassandra.io.util.MmappedRegions.close:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 4
start local 4 2: aload 4
ifnull 4
3: getstatic org.apache.cassandra.io.util.FileHandle.logger:Lorg/slf4j/Logger;
ldc "Failed to close mapped regions"
aload 4
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
4: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
aconst_null
putfield org.apache.cassandra.io.util.FileHandle$Builder.regions:Lorg/apache/cassandra/io/util/MmappedRegions;
end local 4 5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.regions:Lorg/apache/cassandra/io/util/MmappedRegions;
ifnonnull 7
6: aload 0
aload 1
lload 2
invokestatic org.apache.cassandra.io.util.MmappedRegions.map:(Lorg/apache/cassandra/io/util/ChannelProxy;J)Lorg/apache/cassandra/io/util/MmappedRegions;
putfield org.apache.cassandra.io.util.FileHandle$Builder.regions:Lorg/apache/cassandra/io/util/MmappedRegions;
goto 8
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Builder.regions:Lorg/apache/cassandra/io/util/MmappedRegions;
lload 2
invokevirtual org.apache.cassandra.io.util.MmappedRegions.extend:(J)V
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/io/util/FileHandle$Builder;
0 9 1 channel Lorg/apache/cassandra/io/util/ChannelProxy;
0 9 2 length J
2 5 4 err Ljava/lang/Throwable;
MethodParameters:
Name Flags
channel
length
}
SourceFile: "FileHandle.java"
NestHost: org.apache.cassandra.io.util.FileHandle
InnerClasses:
public Mmap = org.apache.cassandra.io.util.CompressedChunkReader$Mmap of org.apache.cassandra.io.util.CompressedChunkReader
public Standard = org.apache.cassandra.io.util.CompressedChunkReader$Standard of org.apache.cassandra.io.util.CompressedChunkReader
public Builder = org.apache.cassandra.io.util.FileHandle$Builder of org.apache.cassandra.io.util.FileHandle
private Cleanup = org.apache.cassandra.io.util.FileHandle$Cleanup of org.apache.cassandra.io.util.FileHandle