class org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor extends java.util.concurrent.AbstractExecutorService
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor
  super_class: java.util.concurrent.AbstractExecutorService
{
  private final java.util.concurrent.BlockingQueue<java.lang.Runnable> queue;
    descriptor: Ljava/util/concurrent/BlockingQueue;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/BlockingQueue<Ljava/lang/Runnable;>;

  private final java.util.concurrent.ExecutorService executor;
    descriptor: Ljava/util/concurrent/ExecutorService;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.concurrent.Semaphore runnerPermit;
    descriptor: Ljava/util/concurrent/Semaphore;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.Set<java.lang.Thread> liveThreads;
    descriptor: Ljava/util/Set;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Set<Ljava/lang/Thread;>;

  private final int maxWorkers;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.concurrent.CountDownLatch termination;
    descriptor: Ljava/util/concurrent/CountDownLatch;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private volatile boolean shutdown;
    descriptor: Z
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  void <init>(java.util.concurrent.BlockingQueue<java.lang.Runnable>, java.util.concurrent.ExecutorService, );
    descriptor: (Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ExecutorService;I)V
    flags: (0x0000) 
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor this
        start local 1 // java.util.concurrent.BlockingQueue queue
        start local 2 // java.util.concurrent.ExecutorService executor
        start local 3 // int maxWorkers
         0: .line 48
            aload 0 /* this */
            invokespecial java.util.concurrent.AbstractExecutorService.<init>:()V
         1: .line 44
            aload 0 /* this */
            new java.util.concurrent.CountDownLatch
            dup
            iconst_1
            invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
            putfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.termination:Ljava/util/concurrent/CountDownLatch;
         2: .line 49
            aload 0 /* this */
            aload 1 /* queue */
            putfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.queue:Ljava/util/concurrent/BlockingQueue;
         3: .line 50
            aload 0 /* this */
            aload 2 /* executor */
            putfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.executor:Ljava/util/concurrent/ExecutorService;
         4: .line 51
            aload 0 /* this */
            iload 3 /* maxWorkers */
            putfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.maxWorkers:I
         5: .line 52
            aload 0 /* this */
            new java.util.concurrent.Semaphore
            dup
            iload 3 /* maxWorkers */
            invokespecial java.util.concurrent.Semaphore.<init>:(I)V
            putfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.runnerPermit:Ljava/util/concurrent/Semaphore;
         6: .line 53
            aload 0 /* this */
            new java.util.concurrent.CopyOnWriteArraySet
            dup
            invokespecial java.util.concurrent.CopyOnWriteArraySet.<init>:()V
            putfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.liveThreads:Ljava/util/Set;
         7: .line 54
            return
        end local 3 // int maxWorkers
        end local 2 // java.util.concurrent.ExecutorService executor
        end local 1 // java.util.concurrent.BlockingQueue queue
        end local 0 // org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    8     0        this  Lorg/ehcache/impl/internal/executor/PartitionedUnorderedExecutor;
            0    8     1       queue  Ljava/util/concurrent/BlockingQueue<Ljava/lang/Runnable;>;
            0    8     2    executor  Ljava/util/concurrent/ExecutorService;
            0    8     3  maxWorkers  I
    Signature: (Ljava/util/concurrent/BlockingQueue<Ljava/lang/Runnable;>;Ljava/util/concurrent/ExecutorService;I)V
    MethodParameters:
            Name  Flags
      queue       
      executor    
      maxWorkers  

  public void shutdown();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor this
         0: .line 58
            aload 0 /* this */
            iconst_1
            putfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.shutdown:Z
         1: .line 59
            aload 0 /* this */
            invokevirtual org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.isTerminated:()Z
            ifeq 3
         2: .line 60
            aload 0 /* this */
            getfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.termination:Ljava/util/concurrent/CountDownLatch;
            invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
         3: .line 62
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/ehcache/impl/internal/executor/PartitionedUnorderedExecutor;

  public java.util.List<java.lang.Runnable> shutdownNow();
    descriptor: ()Ljava/util/List;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor this
         0: .line 66
            aload 0 /* this */
            iconst_1
            putfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.shutdown:Z
         1: .line 67
            aload 0 /* this */
            invokevirtual org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.isTerminated:()Z
            ifeq 4
         2: .line 68
            aload 0 /* this */
            getfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.termination:Ljava/util/concurrent/CountDownLatch;
            invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
         3: .line 69
            invokestatic java.util.Collections.emptyList:()Ljava/util/List;
            areturn
         4: .line 71
      StackMap locals:
      StackMap stack:
            new java.util.ArrayList
            dup
            aload 0 /* this */
            getfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.queue:Ljava/util/concurrent/BlockingQueue;
            invokeinterface java.util.concurrent.BlockingQueue.size:()I
            invokespecial java.util.ArrayList.<init>:(I)V
            astore 1 /* failed */
        start local 1 // java.util.List failed
         5: .line 72
            aload 0 /* this */
            getfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.queue:Ljava/util/concurrent/BlockingQueue;
            aload 1 /* failed */
            invokeinterface java.util.concurrent.BlockingQueue.drainTo:(Ljava/util/Collection;)I
            pop
         6: .line 73
            aload 0 /* this */
            getfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.liveThreads:Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 3
            goto 9
      StackMap locals: org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor java.util.List top java.util.Iterator
      StackMap stack:
         7: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.Thread
            astore 2 /* t */
        start local 2 // java.lang.Thread t
         8: .line 74
            aload 2 /* t */
            invokevirtual java.lang.Thread.interrupt:()V
        end local 2 // java.lang.Thread t
         9: .line 73
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 7
        10: .line 76
            aload 1 /* failed */
            areturn
        end local 1 // java.util.List failed
        end local 0 // org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   11     0    this  Lorg/ehcache/impl/internal/executor/PartitionedUnorderedExecutor;
            5   11     1  failed  Ljava/util/List<Ljava/lang/Runnable;>;
            8    9     2       t  Ljava/lang/Thread;
    Signature: ()Ljava/util/List<Ljava/lang/Runnable;>;

  public boolean isShutdown();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor this
         0: .line 82
            aload 0 /* this */
            getfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.shutdown:Z
            ireturn
        end local 0 // org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/ehcache/impl/internal/executor/PartitionedUnorderedExecutor;

  public boolean isTerminated();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor this
         0: .line 87
            aload 0 /* this */
            invokevirtual org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.isShutdown:()Z
            ifeq 1
            aload 0 /* this */
            getfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.queue:Ljava/util/concurrent/BlockingQueue;
            invokeinterface java.util.concurrent.BlockingQueue.isEmpty:()Z
            ifeq 1
            aload 0 /* this */
            getfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.runnerPermit:Ljava/util/concurrent/Semaphore;
            invokevirtual java.util.concurrent.Semaphore.availablePermits:()I
            aload 0 /* this */
            getfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.maxWorkers:I
            if_icmpne 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/ehcache/impl/internal/executor/PartitionedUnorderedExecutor;

  public boolean awaitTermination(long, java.util.concurrent.TimeUnit);
    descriptor: (JLjava/util/concurrent/TimeUnit;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor this
        start local 1 // long time
        start local 3 // java.util.concurrent.TimeUnit unit
         0: .line 92
            aload 0 /* this */
            invokevirtual org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.isTerminated:()Z
            ifeq 2
         1: .line 93
            iconst_1
            ireturn
         2: .line 95
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.termination:Ljava/util/concurrent/CountDownLatch;
            lload 1 /* time */
            aload 3 /* unit */
            invokevirtual java.util.concurrent.CountDownLatch.await:(JLjava/util/concurrent/TimeUnit;)Z
            ireturn
        end local 3 // java.util.concurrent.TimeUnit unit
        end local 1 // long time
        end local 0 // org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/ehcache/impl/internal/executor/PartitionedUnorderedExecutor;
            0    3     1  time  J
            0    3     3  unit  Ljava/util/concurrent/TimeUnit;
    Exceptions:
      throws java.lang.InterruptedException
    MethodParameters:
      Name  Flags
      time  
      unit  

  public void execute(java.lang.Runnable);
    descriptor: (Ljava/lang/Runnable;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor this
        start local 1 // java.lang.Runnable r
         0: .line 101
            aload 0 /* this */
            getfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.shutdown:Z
            ifeq 2
         1: .line 102
            new java.util.concurrent.RejectedExecutionException
            dup
            ldc "Executor is shutting down"
            invokespecial java.util.concurrent.RejectedExecutionException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 105
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 2 /* interrupted */
        start local 2 // boolean interrupted
         3: .line 109
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.queue:Ljava/util/concurrent/BlockingQueue;
            aload 1 /* r */
            invokeinterface java.util.concurrent.BlockingQueue.put:(Ljava/lang/Object;)V
         4: .line 110
            goto 12
         5: .line 111
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
            pop
         6: .line 112
            iconst_1
            istore 2 /* interrupted */
         7: .line 107
            goto 3
         8: .line 115
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 3
         9: .line 116
            iload 2 /* interrupted */
            ifeq 11
        10: .line 117
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.interrupt:()V
        11: .line 119
      StackMap locals: java.lang.Throwable
      StackMap stack:
            aload 3
            athrow
        12: .line 116
      StackMap locals:
      StackMap stack:
            iload 2 /* interrupted */
            ifeq 14
        13: .line 117
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.interrupt:()V
        14: .line 121
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.shutdown:Z
            ifeq 16
            aload 0 /* this */
            getfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.queue:Ljava/util/concurrent/BlockingQueue;
            aload 1 /* r */
            invokeinterface java.util.concurrent.BlockingQueue.remove:(Ljava/lang/Object;)Z
            ifeq 16
        15: .line 122
            new java.util.concurrent.RejectedExecutionException
            dup
            ldc "Executor is shutting down"
            invokespecial java.util.concurrent.RejectedExecutionException.<init>:(Ljava/lang/String;)V
            athrow
        16: .line 123
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.runnerPermit:Ljava/util/concurrent/Semaphore;
            invokevirtual java.util.concurrent.Semaphore.tryAcquire:()Z
            ifeq 18
        17: .line 125
            aload 0 /* this */
            getfield org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.executor:Ljava/util/concurrent/ExecutorService;
            new org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor$1
            dup
            aload 0 /* this */
            invokespecial org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor$1.<init>:(Lorg/ehcache/impl/internal/executor/PartitionedUnorderedExecutor;)V
            invokeinterface java.util.concurrent.ExecutorService.submit:(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
            pop
        18: .line 151
      StackMap locals:
      StackMap stack:
            return
        end local 2 // boolean interrupted
        end local 1 // java.lang.Runnable r
        end local 0 // org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   19     0         this  Lorg/ehcache/impl/internal/executor/PartitionedUnorderedExecutor;
            0   19     1            r  Ljava/lang/Runnable;
            3   19     2  interrupted  Z
      Exception table:
        from    to  target  type
           3     4       5  Class java.lang.InterruptedException
           3     8       8  any
    MethodParameters:
      Name  Flags
      r     
}
SourceFile: "PartitionedUnorderedExecutor.java"
NestMembers:
  org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor$1
InnerClasses:
  org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor$1