final class org.jruby.util.io.BlockingIO$IOChannel
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: org.jruby.util.io.BlockingIO$IOChannel
  super_class: java.lang.Object
{
  final java.nio.channels.SelectableChannel channel;
    descriptor: Ljava/nio/channels/SelectableChannel;
    flags: (0x0010) ACC_FINAL

  final int ops;
    descriptor: I
    flags: (0x0010) ACC_FINAL

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

  private boolean woken;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private boolean ready;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private boolean interrupted;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  void <init>(java.nio.channels.SelectableChannel, int, java.lang.Object);
    descriptor: (Ljava/nio/channels/SelectableChannel;ILjava/lang/Object;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // org.jruby.util.io.BlockingIO$IOChannel this
        start local 1 // java.nio.channels.SelectableChannel channel
        start local 2 // int ops
        start local 3 // java.lang.Object monitor
         0: .line 81
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 77
            aload 0 /* this */
            iconst_0
            putfield org.jruby.util.io.BlockingIO$IOChannel.woken:Z
         2: .line 78
            aload 0 /* this */
            iconst_0
            putfield org.jruby.util.io.BlockingIO$IOChannel.ready:Z
         3: .line 79
            aload 0 /* this */
            iconst_0
            putfield org.jruby.util.io.BlockingIO$IOChannel.interrupted:Z
         4: .line 82
            aload 0 /* this */
            aload 1 /* channel */
            putfield org.jruby.util.io.BlockingIO$IOChannel.channel:Ljava/nio/channels/SelectableChannel;
         5: .line 83
            aload 0 /* this */
            iload 2 /* ops */
            putfield org.jruby.util.io.BlockingIO$IOChannel.ops:I
         6: .line 84
            aload 0 /* this */
            aload 3 /* monitor */
            putfield org.jruby.util.io.BlockingIO$IOChannel.monitor:Ljava/lang/Object;
         7: .line 85
            return
        end local 3 // java.lang.Object monitor
        end local 2 // int ops
        end local 1 // java.nio.channels.SelectableChannel channel
        end local 0 // org.jruby.util.io.BlockingIO$IOChannel this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    8     0     this  Lorg/jruby/util/io/BlockingIO$IOChannel;
            0    8     1  channel  Ljava/nio/channels/SelectableChannel;
            0    8     2      ops  I
            0    8     3  monitor  Ljava/lang/Object;
    MethodParameters:
         Name  Flags
      channel  
      ops      
      monitor  

  public final void wakeup(boolean);
    descriptor: (Z)V
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // org.jruby.util.io.BlockingIO$IOChannel this
        start local 1 // boolean ready
         0: .line 87
            aload 0 /* this */
            getfield org.jruby.util.io.BlockingIO$IOChannel.monitor:Ljava/lang/Object;
            dup
            astore 2
            monitorenter
         1: .line 88
            aload 0 /* this */
            iconst_1
            putfield org.jruby.util.io.BlockingIO$IOChannel.woken:Z
         2: .line 89
            aload 0 /* this */
            iload 1 /* ready */
            putfield org.jruby.util.io.BlockingIO$IOChannel.ready:Z
         3: .line 90
            aload 0 /* this */
            getfield org.jruby.util.io.BlockingIO$IOChannel.monitor:Ljava/lang/Object;
            invokevirtual java.lang.Object.notifyAll:()V
         4: .line 87
            aload 2
            monitorexit
         5: goto 8
      StackMap locals: org.jruby.util.io.BlockingIO$IOChannel int java.lang.Object
      StackMap stack: java.lang.Throwable
         6: aload 2
            monitorexit
         7: athrow
         8: .line 92
      StackMap locals:
      StackMap stack:
            return
        end local 1 // boolean ready
        end local 0 // org.jruby.util.io.BlockingIO$IOChannel this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    9     0   this  Lorg/jruby/util/io/BlockingIO$IOChannel;
            0    9     1  ready  Z
      Exception table:
        from    to  target  type
           1     5       6  any
           6     7       6  any
    MethodParameters:
       Name  Flags
      ready  

  public final void interrupt();
    descriptor: ()V
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // org.jruby.util.io.BlockingIO$IOChannel this
         0: .line 94
            aload 0 /* this */
            getfield org.jruby.util.io.BlockingIO$IOChannel.monitor:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 95
            aload 0 /* this */
            iconst_1
            putfield org.jruby.util.io.BlockingIO$IOChannel.woken:Z
         2: .line 96
            aload 0 /* this */
            iconst_1
            putfield org.jruby.util.io.BlockingIO$IOChannel.interrupted:Z
         3: .line 97
            aload 0 /* this */
            getfield org.jruby.util.io.BlockingIO$IOChannel.monitor:Ljava/lang/Object;
            invokevirtual java.lang.Object.notifyAll:()V
         4: .line 94
            aload 1
            monitorexit
         5: goto 8
      StackMap locals: org.jruby.util.io.BlockingIO$IOChannel java.lang.Object
      StackMap stack: java.lang.Throwable
         6: aload 1
            monitorexit
         7: athrow
         8: .line 99
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.jruby.util.io.BlockingIO$IOChannel this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Lorg/jruby/util/io/BlockingIO$IOChannel;
      Exception table:
        from    to  target  type
           1     5       6  any
           6     7       6  any

  public final boolean await();
    descriptor: ()Z
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.jruby.util.io.BlockingIO$IOChannel this
         0: .line 101
            aload 0 /* this */
            lconst_0
            getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
            invokevirtual org.jruby.util.io.BlockingIO$IOChannel.await:(JLjava/util/concurrent/TimeUnit;)Z
            ireturn
        end local 0 // org.jruby.util.io.BlockingIO$IOChannel this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/io/BlockingIO$IOChannel;
    Exceptions:
      throws java.lang.InterruptedException

  public final boolean await(long, java.util.concurrent.TimeUnit);
    descriptor: (JLjava/util/concurrent/TimeUnit;)Z
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // org.jruby.util.io.BlockingIO$IOChannel this
        start local 1 // long timeout
        start local 3 // java.util.concurrent.TimeUnit unit
         0: .line 104
            aload 0 /* this */
            getfield org.jruby.util.io.BlockingIO$IOChannel.monitor:Ljava/lang/Object;
            dup
            astore 4
            monitorenter
         1: .line 105
            aload 0 /* this */
            getfield org.jruby.util.io.BlockingIO$IOChannel.woken:Z
            ifne 3
         2: .line 106
            aload 0 /* this */
            getfield org.jruby.util.io.BlockingIO$IOChannel.monitor:Ljava/lang/Object;
            getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
            lload 1 /* timeout */
            aload 3 /* unit */
            invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
            invokevirtual java.lang.Object.wait:(J)V
         3: .line 108
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.util.io.BlockingIO$IOChannel.interrupted:Z
            ifeq 5
         4: .line 109
            new java.lang.InterruptedException
            dup
            ldc "Interrupted"
            invokespecial java.lang.InterruptedException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 111
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.util.io.BlockingIO$IOChannel.ready:Z
            aload 4
            monitorexit
         6: ireturn
         7: .line 104
      StackMap locals:
      StackMap stack: java.lang.Throwable
            aload 4
            monitorexit
         8: athrow
        end local 3 // java.util.concurrent.TimeUnit unit
        end local 1 // long timeout
        end local 0 // org.jruby.util.io.BlockingIO$IOChannel this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    9     0     this  Lorg/jruby/util/io/BlockingIO$IOChannel;
            0    9     1  timeout  J
            0    9     3     unit  Ljava/util/concurrent/TimeUnit;
      Exception table:
        from    to  target  type
           1     6       7  any
           7     8       7  any
    Exceptions:
      throws java.lang.InterruptedException
    MethodParameters:
         Name  Flags
      timeout  final
      unit     
}
SourceFile: "BlockingIO.java"
NestHost: org.jruby.util.io.BlockingIO
InnerClasses:
  final IOChannel = org.jruby.util.io.BlockingIO$IOChannel of org.jruby.util.io.BlockingIO