class org.h2.store.fs.FileRec extends org.h2.store.fs.FileBase
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.h2.store.fs.FileRec
  super_class: org.h2.store.fs.FileBase
{
  private final org.h2.store.fs.FilePathRec rec;
    descriptor: Lorg/h2/store/fs/FilePathRec;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.nio.channels.FileChannel channel;
    descriptor: Ljava/nio/channels/FileChannel;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.String name;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  void <init>(org.h2.store.fs.FilePathRec, java.nio.channels.FileChannel, java.lang.String);
    descriptor: (Lorg/h2/store/fs/FilePathRec;Ljava/nio/channels/FileChannel;Ljava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // org.h2.store.fs.FileRec this
        start local 1 // org.h2.store.fs.FilePathRec rec
        start local 2 // java.nio.channels.FileChannel file
        start local 3 // java.lang.String fileName
         0: .line 130
            aload 0 /* this */
            invokespecial org.h2.store.fs.FileBase.<init>:()V
         1: .line 131
            aload 0 /* this */
            aload 1 /* rec */
            putfield org.h2.store.fs.FileRec.rec:Lorg/h2/store/fs/FilePathRec;
         2: .line 132
            aload 0 /* this */
            aload 2 /* file */
            putfield org.h2.store.fs.FileRec.channel:Ljava/nio/channels/FileChannel;
         3: .line 133
            aload 0 /* this */
            aload 3 /* fileName */
            putfield org.h2.store.fs.FileRec.name:Ljava/lang/String;
         4: .line 134
            return
        end local 3 // java.lang.String fileName
        end local 2 // java.nio.channels.FileChannel file
        end local 1 // org.h2.store.fs.FilePathRec rec
        end local 0 // org.h2.store.fs.FileRec this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    5     0      this  Lorg/h2/store/fs/FileRec;
            0    5     1       rec  Lorg/h2/store/fs/FilePathRec;
            0    5     2      file  Ljava/nio/channels/FileChannel;
            0    5     3  fileName  Ljava/lang/String;
    MethodParameters:
          Name  Flags
      rec       
      file      
      fileName  

  public void implCloseChannel();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.h2.store.fs.FileRec this
         0: .line 138
            aload 0 /* this */
            getfield org.h2.store.fs.FileRec.channel:Ljava/nio/channels/FileChannel;
            invokevirtual java.nio.channels.FileChannel.close:()V
         1: .line 139
            return
        end local 0 // org.h2.store.fs.FileRec this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/h2/store/fs/FileRec;
    Exceptions:
      throws java.io.IOException

  public long position();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.h2.store.fs.FileRec this
         0: .line 143
            aload 0 /* this */
            getfield org.h2.store.fs.FileRec.channel:Ljava/nio/channels/FileChannel;
            invokevirtual java.nio.channels.FileChannel.position:()J
            lreturn
        end local 0 // org.h2.store.fs.FileRec this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/h2/store/fs/FileRec;
    Exceptions:
      throws java.io.IOException

  public long size();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.h2.store.fs.FileRec this
         0: .line 148
            aload 0 /* this */
            getfield org.h2.store.fs.FileRec.channel:Ljava/nio/channels/FileChannel;
            invokevirtual java.nio.channels.FileChannel.size:()J
            lreturn
        end local 0 // org.h2.store.fs.FileRec this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/h2/store/fs/FileRec;
    Exceptions:
      throws java.io.IOException

  public int read(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.h2.store.fs.FileRec this
        start local 1 // java.nio.ByteBuffer dst
         0: .line 153
            aload 0 /* this */
            getfield org.h2.store.fs.FileRec.channel:Ljava/nio/channels/FileChannel;
            aload 1 /* dst */
            invokevirtual java.nio.channels.FileChannel.read:(Ljava/nio/ByteBuffer;)I
            ireturn
        end local 1 // java.nio.ByteBuffer dst
        end local 0 // org.h2.store.fs.FileRec this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/h2/store/fs/FileRec;
            0    1     1   dst  Ljava/nio/ByteBuffer;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      dst   

  public int read(java.nio.ByteBuffer, long);
    descriptor: (Ljava/nio/ByteBuffer;J)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // org.h2.store.fs.FileRec this
        start local 1 // java.nio.ByteBuffer dst
        start local 2 // long position
         0: .line 158
            aload 0 /* this */
            getfield org.h2.store.fs.FileRec.channel:Ljava/nio/channels/FileChannel;
            aload 1 /* dst */
            lload 2 /* position */
            invokevirtual java.nio.channels.FileChannel.read:(Ljava/nio/ByteBuffer;J)I
            ireturn
        end local 2 // long position
        end local 1 // java.nio.ByteBuffer dst
        end local 0 // org.h2.store.fs.FileRec this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0      this  Lorg/h2/store/fs/FileRec;
            0    1     1       dst  Ljava/nio/ByteBuffer;
            0    1     2  position  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      dst       
      position  

  public java.nio.channels.FileChannel position(long);
    descriptor: (J)Ljava/nio/channels/FileChannel;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.h2.store.fs.FileRec this
        start local 1 // long pos
         0: .line 163
            aload 0 /* this */
            getfield org.h2.store.fs.FileRec.channel:Ljava/nio/channels/FileChannel;
            lload 1 /* pos */
            invokevirtual java.nio.channels.FileChannel.position:(J)Ljava/nio/channels/FileChannel;
            pop
         1: .line 164
            aload 0 /* this */
            areturn
        end local 1 // long pos
        end local 0 // org.h2.store.fs.FileRec this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/h2/store/fs/FileRec;
            0    2     1   pos  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      pos   

  public java.nio.channels.FileChannel truncate(long);
    descriptor: (J)Ljava/nio/channels/FileChannel;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // org.h2.store.fs.FileRec this
        start local 1 // long newLength
         0: .line 169
            aload 0 /* this */
            getfield org.h2.store.fs.FileRec.rec:Lorg/h2/store/fs/FilePathRec;
            bipush 7
            aload 0 /* this */
            getfield org.h2.store.fs.FileRec.name:Ljava/lang/String;
            aconst_null
            lload 1 /* newLength */
            invokevirtual org.h2.store.fs.FilePathRec.log:(ILjava/lang/String;[BJ)V
         1: .line 170
            aload 0 /* this */
            getfield org.h2.store.fs.FileRec.channel:Ljava/nio/channels/FileChannel;
            lload 1 /* newLength */
            invokevirtual java.nio.channels.FileChannel.truncate:(J)Ljava/nio/channels/FileChannel;
            pop
         2: .line 171
            aload 0 /* this */
            areturn
        end local 1 // long newLength
        end local 0 // org.h2.store.fs.FileRec this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       this  Lorg/h2/store/fs/FileRec;
            0    3     1  newLength  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
           Name  Flags
      newLength  

  public void force(boolean);
    descriptor: (Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.h2.store.fs.FileRec this
        start local 1 // boolean metaData
         0: .line 176
            aload 0 /* this */
            getfield org.h2.store.fs.FileRec.channel:Ljava/nio/channels/FileChannel;
            iload 1 /* metaData */
            invokevirtual java.nio.channels.FileChannel.force:(Z)V
         1: .line 177
            return
        end local 1 // boolean metaData
        end local 0 // org.h2.store.fs.FileRec this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lorg/h2/store/fs/FileRec;
            0    2     1  metaData  Z
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      metaData  

  public int write(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=5, args_size=2
        start local 0 // org.h2.store.fs.FileRec this
        start local 1 // java.nio.ByteBuffer src
         0: .line 181
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.array:()[B
            astore 2 /* buff */
        start local 2 // byte[] buff
         1: .line 182
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            istore 3 /* len */
        start local 3 // int len
         2: .line 183
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.position:()I
            ifne 3
            iload 3 /* len */
            aload 2 /* buff */
            arraylength
            if_icmpeq 5
         3: .line 184
      StackMap locals: byte[] int
      StackMap stack:
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.arrayOffset:()I
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.position:()I
            iadd
            istore 4 /* offset */
        start local 4 // int offset
         4: .line 185
            aload 2 /* buff */
            iload 4 /* offset */
            iload 4 /* offset */
            iload 3 /* len */
            iadd
            invokestatic java.util.Arrays.copyOfRange:([BII)[B
            astore 2 /* buff */
        end local 4 // int offset
         5: .line 187
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.h2.store.fs.FileRec.channel:Ljava/nio/channels/FileChannel;
            aload 1 /* src */
            invokevirtual java.nio.channels.FileChannel.write:(Ljava/nio/ByteBuffer;)I
            istore 4 /* result */
        start local 4 // int result
         6: .line 188
            aload 0 /* this */
            getfield org.h2.store.fs.FileRec.rec:Lorg/h2/store/fs/FilePathRec;
            bipush 8
            aload 0 /* this */
            getfield org.h2.store.fs.FileRec.name:Ljava/lang/String;
            aload 2 /* buff */
            aload 0 /* this */
            getfield org.h2.store.fs.FileRec.channel:Ljava/nio/channels/FileChannel;
            invokevirtual java.nio.channels.FileChannel.position:()J
            invokevirtual org.h2.store.fs.FilePathRec.log:(ILjava/lang/String;[BJ)V
         7: .line 189
            iload 4 /* result */
            ireturn
        end local 4 // int result
        end local 3 // int len
        end local 2 // byte[] buff
        end local 1 // java.nio.ByteBuffer src
        end local 0 // org.h2.store.fs.FileRec this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0    this  Lorg/h2/store/fs/FileRec;
            0    8     1     src  Ljava/nio/ByteBuffer;
            1    8     2    buff  [B
            2    8     3     len  I
            4    5     4  offset  I
            6    8     4  result  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      src   

  public int write(java.nio.ByteBuffer, long);
    descriptor: (Ljava/nio/ByteBuffer;J)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=7, args_size=3
        start local 0 // org.h2.store.fs.FileRec this
        start local 1 // java.nio.ByteBuffer src
        start local 2 // long position
         0: .line 194
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.array:()[B
            astore 4 /* buff */
        start local 4 // byte[] buff
         1: .line 195
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            istore 5 /* len */
        start local 5 // int len
         2: .line 196
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.position:()I
            ifne 3
            iload 5 /* len */
            aload 4 /* buff */
            arraylength
            if_icmpeq 5
         3: .line 197
      StackMap locals: byte[] int
      StackMap stack:
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.arrayOffset:()I
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.position:()I
            iadd
            istore 6 /* offset */
        start local 6 // int offset
         4: .line 198
            aload 4 /* buff */
            iload 6 /* offset */
            iload 6 /* offset */
            iload 5 /* len */
            iadd
            invokestatic java.util.Arrays.copyOfRange:([BII)[B
            astore 4 /* buff */
        end local 6 // int offset
         5: .line 200
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.h2.store.fs.FileRec.channel:Ljava/nio/channels/FileChannel;
            aload 1 /* src */
            lload 2 /* position */
            invokevirtual java.nio.channels.FileChannel.write:(Ljava/nio/ByteBuffer;J)I
            istore 6 /* result */
        start local 6 // int result
         6: .line 201
            aload 0 /* this */
            getfield org.h2.store.fs.FileRec.rec:Lorg/h2/store/fs/FilePathRec;
            bipush 8
            aload 0 /* this */
            getfield org.h2.store.fs.FileRec.name:Ljava/lang/String;
            aload 4 /* buff */
            lload 2 /* position */
            invokevirtual org.h2.store.fs.FilePathRec.log:(ILjava/lang/String;[BJ)V
         7: .line 202
            iload 6 /* result */
            ireturn
        end local 6 // int result
        end local 5 // int len
        end local 4 // byte[] buff
        end local 2 // long position
        end local 1 // java.nio.ByteBuffer src
        end local 0 // org.h2.store.fs.FileRec this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    8     0      this  Lorg/h2/store/fs/FileRec;
            0    8     1       src  Ljava/nio/ByteBuffer;
            0    8     2  position  J
            1    8     4      buff  [B
            2    8     5       len  I
            4    5     6    offset  I
            6    8     6    result  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      src       
      position  

  public synchronized java.nio.channels.FileLock tryLock(long, long, boolean);
    descriptor: (JJZ)Ljava/nio/channels/FileLock;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=6, locals=6, args_size=4
        start local 0 // org.h2.store.fs.FileRec this
        start local 1 // long position
        start local 3 // long size
        start local 5 // boolean shared
         0: .line 208
            aload 0 /* this */
            getfield org.h2.store.fs.FileRec.channel:Ljava/nio/channels/FileChannel;
            lload 1 /* position */
            lload 3 /* size */
            iload 5 /* shared */
            invokevirtual java.nio.channels.FileChannel.tryLock:(JJZ)Ljava/nio/channels/FileLock;
            areturn
        end local 5 // boolean shared
        end local 3 // long size
        end local 1 // long position
        end local 0 // org.h2.store.fs.FileRec this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0      this  Lorg/h2/store/fs/FileRec;
            0    1     1  position  J
            0    1     3      size  J
            0    1     5    shared  Z
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      position  
      size      
      shared    

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.h2.store.fs.FileRec this
         0: .line 213
            aload 0 /* this */
            getfield org.h2.store.fs.FileRec.name:Ljava/lang/String;
            areturn
        end local 0 // org.h2.store.fs.FileRec this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/h2/store/fs/FileRec;

  public java.nio.channels.SeekableByteChannel position(long);
    descriptor: (J)Ljava/nio/channels/SeekableByteChannel;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=2
         0: .line 1
            aload 0
            lload 1
            invokevirtual org.h2.store.fs.FileRec.position:(J)Ljava/nio/channels/FileChannel;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.io.IOException

  public java.nio.channels.SeekableByteChannel truncate(long);
    descriptor: (J)Ljava/nio/channels/SeekableByteChannel;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=2
         0: .line 1
            aload 0
            lload 1
            invokevirtual org.h2.store.fs.FileRec.truncate:(J)Ljava/nio/channels/FileChannel;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.io.IOException
}
SourceFile: "FilePathRec.java"