public class org.apache.cassandra.hints.EncryptedHintsWriter extends org.apache.cassandra.hints.HintsWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.hints.EncryptedHintsWriter
super_class: org.apache.cassandra.hints.HintsWriter
{
private final javax.crypto.Cipher cipher;
descriptor: Ljavax/crypto/Cipher;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.io.compress.ICompressor compressor;
descriptor: Lorg/apache/cassandra/io/compress/ICompressor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile java.nio.ByteBuffer byteBuffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
protected void <init>(java.io.File, org.apache.cassandra.hints.HintsDescriptor, java.io.File, java.nio.channels.FileChannel, int, java.util.zip.CRC32);
descriptor: (Ljava/io/File;Lorg/apache/cassandra/hints/HintsDescriptor;Ljava/io/File;Ljava/nio/channels/FileChannel;ILjava/util/zip/CRC32;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 2
aload 3
aload 4
iload 5
aload 6
invokespecial org.apache.cassandra.hints.HintsWriter.<init>:(Ljava/io/File;Lorg/apache/cassandra/hints/HintsDescriptor;Ljava/io/File;Ljava/nio/channels/FileChannel;ILjava/util/zip/CRC32;)V
1: aload 0
aload 2
invokevirtual org.apache.cassandra.hints.HintsDescriptor.getCipher:()Ljavax/crypto/Cipher;
putfield org.apache.cassandra.hints.EncryptedHintsWriter.cipher:Ljavax/crypto/Cipher;
2: aload 0
aload 2
invokevirtual org.apache.cassandra.hints.HintsDescriptor.createCompressor:()Lorg/apache/cassandra/io/compress/ICompressor;
putfield org.apache.cassandra.hints.EncryptedHintsWriter.compressor:Lorg/apache/cassandra/io/compress/ICompressor;
3: return
end local 6 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 4 0 this Lorg/apache/cassandra/hints/EncryptedHintsWriter;
0 4 1 directory Ljava/io/File;
0 4 2 descriptor Lorg/apache/cassandra/hints/HintsDescriptor;
0 4 3 file Ljava/io/File;
0 4 4 channel Ljava/nio/channels/FileChannel;
0 4 5 fd I
0 4 6 globalCRC Ljava/util/zip/CRC32;
MethodParameters:
Name Flags
directory
descriptor
file
channel
fd
globalCRC
protected void writeBuffer(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield org.apache.cassandra.hints.EncryptedHintsWriter.byteBuffer:Ljava/nio/ByteBuffer;
iconst_1
aload 0
getfield org.apache.cassandra.hints.EncryptedHintsWriter.compressor:Lorg/apache/cassandra/io/compress/ICompressor;
invokestatic org.apache.cassandra.security.EncryptionUtils.compress:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;ZLorg/apache/cassandra/io/compress/ICompressor;)Ljava/nio/ByteBuffer;
putfield org.apache.cassandra.hints.EncryptedHintsWriter.byteBuffer:Ljava/nio/ByteBuffer;
1: aload 0
getfield org.apache.cassandra.hints.EncryptedHintsWriter.byteBuffer:Ljava/nio/ByteBuffer;
aload 0
getfield org.apache.cassandra.hints.EncryptedHintsWriter.channel:Ljava/nio/channels/FileChannel;
iconst_1
aload 0
getfield org.apache.cassandra.hints.EncryptedHintsWriter.cipher:Ljavax/crypto/Cipher;
invokestatic org.apache.cassandra.security.EncryptionUtils.encryptAndWrite:(Ljava/nio/ByteBuffer;Ljava/nio/channels/WritableByteChannel;ZLjavax/crypto/Cipher;)Ljava/nio/ByteBuffer;
astore 2
start local 2 2: aload 0
getfield org.apache.cassandra.hints.EncryptedHintsWriter.globalCRC:Ljava/util/zip/CRC32;
aload 2
invokestatic org.apache.cassandra.utils.FBUtilities.updateChecksum:(Ljava/util/zip/CRC32;Ljava/nio/ByteBuffer;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/hints/EncryptedHintsWriter;
0 4 1 input Ljava/nio/ByteBuffer;
2 4 2 output Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
javax.crypto.Cipher getCipher();
descriptor: ()Ljavax/crypto/Cipher;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.hints.EncryptedHintsWriter.cipher:Ljavax/crypto/Cipher;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/hints/EncryptedHintsWriter;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
org.apache.cassandra.io.compress.ICompressor getCompressor();
descriptor: ()Lorg/apache/cassandra/io/compress/ICompressor;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.hints.EncryptedHintsWriter.compressor:Lorg/apache/cassandra/io/compress/ICompressor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/hints/EncryptedHintsWriter;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
public void close();
descriptor: ()V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial org.apache.cassandra.hints.HintsWriter.close:()V
return
LocalVariableTable:
Start End Slot Name Signature
public void fsync();
descriptor: ()V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial org.apache.cassandra.hints.HintsWriter.fsync:()V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "EncryptedHintsWriter.java"