class org.apache.cassandra.io.util.FileHandle$Cleanup implements org.apache.cassandra.utils.concurrent.RefCounted$Tidy
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.io.util.FileHandle$Cleanup
super_class: java.lang.Object
{
final org.apache.cassandra.io.util.ChannelProxy channel;
descriptor: Lorg/apache/cassandra/io/util/ChannelProxy;
flags: (0x0010) ACC_FINAL
final org.apache.cassandra.io.util.RebuffererFactory rebufferer;
descriptor: Lorg/apache/cassandra/io/util/RebuffererFactory;
flags: (0x0010) ACC_FINAL
final org.apache.cassandra.io.compress.CompressionMetadata compressionMetadata;
descriptor: Lorg/apache/cassandra/io/compress/CompressionMetadata;
flags: (0x0010) ACC_FINAL
final java.util.Optional<org.apache.cassandra.cache.ChunkCache> chunkCache;
descriptor: Ljava/util/Optional;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Optional<Lorg/apache/cassandra/cache/ChunkCache;>;
private void <init>(org.apache.cassandra.io.util.ChannelProxy, org.apache.cassandra.io.util.RebuffererFactory, org.apache.cassandra.io.compress.CompressionMetadata, org.apache.cassandra.cache.ChunkCache);
descriptor: (Lorg/apache/cassandra/io/util/ChannelProxy;Lorg/apache/cassandra/io/util/RebuffererFactory;Lorg/apache/cassandra/io/compress/CompressionMetadata;Lorg/apache/cassandra/cache/ChunkCache;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.io.util.FileHandle$Cleanup.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
2: aload 0
aload 2
putfield org.apache.cassandra.io.util.FileHandle$Cleanup.rebufferer:Lorg/apache/cassandra/io/util/RebuffererFactory;
3: aload 0
aload 3
putfield org.apache.cassandra.io.util.FileHandle$Cleanup.compressionMetadata:Lorg/apache/cassandra/io/compress/CompressionMetadata;
4: aload 0
aload 4
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
putfield org.apache.cassandra.io.util.FileHandle$Cleanup.chunkCache:Ljava/util/Optional;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/io/util/FileHandle$Cleanup;
0 6 1 channel Lorg/apache/cassandra/io/util/ChannelProxy;
0 6 2 rebufferer Lorg/apache/cassandra/io/util/RebuffererFactory;
0 6 3 compressionMetadata Lorg/apache/cassandra/io/compress/CompressionMetadata;
0 6 4 chunkCache Lorg/apache/cassandra/cache/ChunkCache;
MethodParameters:
Name Flags
channel
rebufferer
compressionMetadata
chunkCache
public java.lang.String name();
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.io.util.FileHandle$Cleanup.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
invokevirtual org.apache.cassandra.io.util.ChannelProxy.filePath:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/FileHandle$Cleanup;
public void tidy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.util.FileHandle$Cleanup.chunkCache:Ljava/util/Optional;
aload 0
invokedynamic accept(Lorg/apache/cassandra/io/util/FileHandle$Cleanup;)Ljava/util/function/Consumer;
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;)V
org/apache/cassandra/io/util/FileHandle$Cleanup.lambda$0(Lorg/apache/cassandra/cache/ChunkCache;)V (7)
(Lorg/apache/cassandra/cache/ChunkCache;)V
invokevirtual java.util.Optional.ifPresent:(Ljava/util/function/Consumer;)V
1: aload 0
getfield org.apache.cassandra.io.util.FileHandle$Cleanup.compressionMetadata:Lorg/apache/cassandra/io/compress/CompressionMetadata;
ifnull 12
2: aload 0
getfield org.apache.cassandra.io.util.FileHandle$Cleanup.compressionMetadata:Lorg/apache/cassandra/io/compress/CompressionMetadata;
invokevirtual org.apache.cassandra.io.compress.CompressionMetadata.close:()V
3: goto 12
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
5: aload 0
getfield org.apache.cassandra.io.util.FileHandle$Cleanup.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
invokevirtual org.apache.cassandra.io.util.ChannelProxy.close:()V
6: goto 10
7: StackMap locals: org.apache.cassandra.io.util.FileHandle$Cleanup java.lang.Throwable
StackMap stack: java.lang.Throwable
astore 2
8: aload 0
getfield org.apache.cassandra.io.util.FileHandle$Cleanup.rebufferer:Lorg/apache/cassandra/io/util/RebuffererFactory;
invokeinterface org.apache.cassandra.io.util.RebuffererFactory.close:()V
9: aload 2
athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Cleanup.rebufferer:Lorg/apache/cassandra/io/util/RebuffererFactory;
invokeinterface org.apache.cassandra.io.util.RebuffererFactory.close:()V
11: aload 1
athrow
12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Cleanup.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
invokevirtual org.apache.cassandra.io.util.ChannelProxy.close:()V
13: goto 17
14: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
15: aload 0
getfield org.apache.cassandra.io.util.FileHandle$Cleanup.rebufferer:Lorg/apache/cassandra/io/util/RebuffererFactory;
invokeinterface org.apache.cassandra.io.util.RebuffererFactory.close:()V
16: aload 2
athrow
17: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.FileHandle$Cleanup.rebufferer:Lorg/apache/cassandra/io/util/RebuffererFactory;
invokeinterface org.apache.cassandra.io.util.RebuffererFactory.close:()V
18: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/cassandra/io/util/FileHandle$Cleanup;
Exception table:
from to target type
1 4 4 any
5 7 7 any
12 14 14 any
private void lambda$0(org.apache.cassandra.cache.ChunkCache);
descriptor: (Lorg/apache/cassandra/cache/ChunkCache;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.apache.cassandra.io.util.FileHandle$Cleanup.name:()Ljava/lang/String;
invokevirtual org.apache.cassandra.cache.ChunkCache.invalidateFile:(Ljava/lang/String;)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/FileHandle$Cleanup;
0 1 1 cache Lorg/apache/cassandra/cache/ChunkCache;
}
SourceFile: "FileHandle.java"
NestHost: org.apache.cassandra.io.util.FileHandle
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private Cleanup = org.apache.cassandra.io.util.FileHandle$Cleanup of org.apache.cassandra.io.util.FileHandle
public abstract Tidy = org.apache.cassandra.utils.concurrent.RefCounted$Tidy of org.apache.cassandra.utils.concurrent.RefCounted