final class org.apache.cassandra.hints.HintsDispatchExecutor
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: org.apache.cassandra.hints.HintsDispatchExecutor
  super_class: java.lang.Object
{
  private static final org.slf4j.Logger logger;
    descriptor: Lorg/slf4j/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final java.io.File hintsDirectory;
    descriptor: Ljava/io/File;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  private final java.util.concurrent.atomic.AtomicBoolean isPaused;
    descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.function.Function<java.net.InetAddress, java.lang.Boolean> isAlive;
    descriptor: Ljava/util/function/Function;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/function/Function<Ljava/net/InetAddress;Ljava/lang/Boolean;>;

  private final java.util.Map<java.util.UUID, java.util.concurrent.Future> scheduledDispatches;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/util/UUID;Ljava/util/concurrent/Future;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 48
            ldc Lorg/apache/cassandra/hints/HintsDispatchExecutor;
            invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
            putstatic org.apache.cassandra.hints.HintsDispatchExecutor.logger:Lorg/slf4j/Logger;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(java.io.File, int, java.util.concurrent.atomic.AtomicBoolean, java.util.function.Function<java.net.InetAddress, java.lang.Boolean>);
    descriptor: (Ljava/io/File;ILjava/util/concurrent/atomic/AtomicBoolean;Ljava/util/function/Function;)V
    flags: (0x0000) 
    Code:
      stack=12, locals=5, args_size=5
        start local 0 // org.apache.cassandra.hints.HintsDispatchExecutor this
        start local 1 // java.io.File hintsDirectory
        start local 2 // int maxThreads
        start local 3 // java.util.concurrent.atomic.AtomicBoolean isPaused
        start local 4 // java.util.function.Function isAlive
         0: .line 56
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 58
            aload 0 /* this */
            aload 1 /* hintsDirectory */
            putfield org.apache.cassandra.hints.HintsDispatchExecutor.hintsDirectory:Ljava/io/File;
         2: .line 59
            aload 0 /* this */
            aload 3 /* isPaused */
            putfield org.apache.cassandra.hints.HintsDispatchExecutor.isPaused:Ljava/util/concurrent/atomic/AtomicBoolean;
         3: .line 60
            aload 0 /* this */
            aload 4 /* isAlive */
            putfield org.apache.cassandra.hints.HintsDispatchExecutor.isAlive:Ljava/util/function/Function;
         4: .line 62
            aload 0 /* this */
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
            putfield org.apache.cassandra.hints.HintsDispatchExecutor.scheduledDispatches:Ljava/util/Map;
         5: .line 63
            aload 0 /* this */
            new org.apache.cassandra.concurrent.JMXEnabledThreadPoolExecutor
            dup
            iload 2 /* maxThreads */
            lconst_1
            getstatic java.util.concurrent.TimeUnit.MINUTES:Ljava/util/concurrent/TimeUnit;
         6: .line 64
            new java.util.concurrent.LinkedBlockingQueue
            dup
            invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:()V
         7: .line 65
            new org.apache.cassandra.concurrent.NamedThreadFactory
            dup
            ldc "HintsDispatcher"
            iconst_1
            invokespecial org.apache.cassandra.concurrent.NamedThreadFactory.<init>:(Ljava/lang/String;I)V
         8: .line 66
            ldc "internal"
            invokespecial org.apache.cassandra.concurrent.JMXEnabledThreadPoolExecutor.<init>:(IJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Lorg/apache/cassandra/concurrent/NamedThreadFactory;Ljava/lang/String;)V
         9: .line 63
            putfield org.apache.cassandra.hints.HintsDispatchExecutor.executor:Ljava/util/concurrent/ExecutorService;
        10: .line 67
            return
        end local 4 // java.util.function.Function isAlive
        end local 3 // java.util.concurrent.atomic.AtomicBoolean isPaused
        end local 2 // int maxThreads
        end local 1 // java.io.File hintsDirectory
        end local 0 // org.apache.cassandra.hints.HintsDispatchExecutor this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   11     0            this  Lorg/apache/cassandra/hints/HintsDispatchExecutor;
            0   11     1  hintsDirectory  Ljava/io/File;
            0   11     2      maxThreads  I
            0   11     3        isPaused  Ljava/util/concurrent/atomic/AtomicBoolean;
            0   11     4         isAlive  Ljava/util/function/Function<Ljava/net/InetAddress;Ljava/lang/Boolean;>;
    Signature: (Ljava/io/File;ILjava/util/concurrent/atomic/AtomicBoolean;Ljava/util/function/Function<Ljava/net/InetAddress;Ljava/lang/Boolean;>;)V
    MethodParameters:
                Name  Flags
      hintsDirectory  
      maxThreads      
      isPaused        
      isAlive         

  void shutdownBlocking();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // org.apache.cassandra.hints.HintsDispatchExecutor this
         0: .line 74
            aload 0 /* this */
            getfield org.apache.cassandra.hints.HintsDispatchExecutor.scheduledDispatches:Ljava/util/Map;
            invokeinterface java.util.Map.clear:()V
         1: .line 75
            aload 0 /* this */
            getfield org.apache.cassandra.hints.HintsDispatchExecutor.executor:Ljava/util/concurrent/ExecutorService;
            invokeinterface java.util.concurrent.ExecutorService.shutdownNow:()Ljava/util/List;
            pop
         2: .line 78
            aload 0 /* this */
            getfield org.apache.cassandra.hints.HintsDispatchExecutor.executor:Ljava/util/concurrent/ExecutorService;
            lconst_1
            getstatic java.util.concurrent.TimeUnit.MINUTES:Ljava/util/concurrent/TimeUnit;
            invokeinterface java.util.concurrent.ExecutorService.awaitTermination:(JLjava/util/concurrent/TimeUnit;)Z
            pop
         3: .line 79
            goto 6
         4: .line 80
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
            astore 1 /* e */
        start local 1 // java.lang.InterruptedException e
         5: .line 82
            new java.lang.AssertionError
            dup
            aload 1 /* e */
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        end local 1 // java.lang.InterruptedException e
         6: .line 84
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.apache.cassandra.hints.HintsDispatchExecutor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lorg/apache/cassandra/hints/HintsDispatchExecutor;
            5    6     1     e  Ljava/lang/InterruptedException;
      Exception table:
        from    to  target  type
           2     3       4  Class java.lang.InterruptedException

  boolean isScheduled(org.apache.cassandra.hints.HintsStore);
    descriptor: (Lorg/apache/cassandra/hints/HintsStore;)Z
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.cassandra.hints.HintsDispatchExecutor this
        start local 1 // org.apache.cassandra.hints.HintsStore store
         0: .line 88
            aload 0 /* this */
            getfield org.apache.cassandra.hints.HintsDispatchExecutor.scheduledDispatches:Ljava/util/Map;
            aload 1 /* store */
            getfield org.apache.cassandra.hints.HintsStore.hostId:Ljava/util/UUID;
            invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
            ireturn
        end local 1 // org.apache.cassandra.hints.HintsStore store
        end local 0 // org.apache.cassandra.hints.HintsDispatchExecutor this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Lorg/apache/cassandra/hints/HintsDispatchExecutor;
            0    1     1  store  Lorg/apache/cassandra/hints/HintsStore;
    MethodParameters:
       Name  Flags
      store  

  java.util.concurrent.Future dispatch(org.apache.cassandra.hints.HintsStore);
    descriptor: (Lorg/apache/cassandra/hints/HintsStore;)Ljava/util/concurrent/Future;
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.apache.cassandra.hints.HintsDispatchExecutor this
        start local 1 // org.apache.cassandra.hints.HintsStore store
         0: .line 93
            aload 0 /* this */
            aload 1 /* store */
            aload 1 /* store */
            getfield org.apache.cassandra.hints.HintsStore.hostId:Ljava/util/UUID;
            invokevirtual org.apache.cassandra.hints.HintsDispatchExecutor.dispatch:(Lorg/apache/cassandra/hints/HintsStore;Ljava/util/UUID;)Ljava/util/concurrent/Future;
            areturn
        end local 1 // org.apache.cassandra.hints.HintsStore store
        end local 0 // org.apache.cassandra.hints.HintsDispatchExecutor this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Lorg/apache/cassandra/hints/HintsDispatchExecutor;
            0    1     1  store  Lorg/apache/cassandra/hints/HintsStore;
    MethodParameters:
       Name  Flags
      store  

  java.util.concurrent.Future dispatch(org.apache.cassandra.hints.HintsStore, java.util.UUID);
    descriptor: (Lorg/apache/cassandra/hints/HintsStore;Ljava/util/UUID;)Ljava/util/concurrent/Future;
    flags: (0x0000) 
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // org.apache.cassandra.hints.HintsDispatchExecutor this
        start local 1 // org.apache.cassandra.hints.HintsStore store
        start local 2 // java.util.UUID hostId
         0: .line 107
            aload 0 /* this */
            getfield org.apache.cassandra.hints.HintsDispatchExecutor.scheduledDispatches:Ljava/util/Map;
            aload 2 /* hostId */
            aload 0 /* this */
            aload 1 /* store */
            aload 2 /* hostId */
            invokedynamic apply(Lorg/apache/cassandra/hints/HintsDispatchExecutor;Lorg/apache/cassandra/hints/HintsStore;Ljava/util/UUID;)Ljava/util/function/Function;
              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;)Ljava/lang/Object;
                  org/apache/cassandra/hints/HintsDispatchExecutor.lambda$0(Lorg/apache/cassandra/hints/HintsStore;Ljava/util/UUID;Ljava/util/UUID;)Ljava/util/concurrent/Future; (7)
                  (Ljava/util/UUID;)Ljava/util/concurrent/Future;
            invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
            checkcast java.util.concurrent.Future
            areturn
        end local 2 // java.util.UUID hostId
        end local 1 // org.apache.cassandra.hints.HintsStore store
        end local 0 // org.apache.cassandra.hints.HintsDispatchExecutor this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Lorg/apache/cassandra/hints/HintsDispatchExecutor;
            0    1     1   store  Lorg/apache/cassandra/hints/HintsStore;
            0    1     2  hostId  Ljava/util/UUID;
    MethodParameters:
        Name  Flags
      store   
      hostId  

  java.util.concurrent.Future transfer(org.apache.cassandra.hints.HintsCatalog, java.util.function.Supplier<java.util.UUID>);
    descriptor: (Lorg/apache/cassandra/hints/HintsCatalog;Ljava/util/function/Supplier;)Ljava/util/concurrent/Future;
    flags: (0x0000) 
    Code:
      stack=6, locals=3, args_size=3
        start local 0 // org.apache.cassandra.hints.HintsDispatchExecutor this
        start local 1 // org.apache.cassandra.hints.HintsCatalog catalog
        start local 2 // java.util.function.Supplier hostIdSupplier
         0: .line 112
            aload 0 /* this */
            getfield org.apache.cassandra.hints.HintsDispatchExecutor.executor:Ljava/util/concurrent/ExecutorService;
            new org.apache.cassandra.hints.HintsDispatchExecutor$TransferHintsTask
            dup
            aload 0 /* this */
            aload 1 /* catalog */
            aload 2 /* hostIdSupplier */
            invokespecial org.apache.cassandra.hints.HintsDispatchExecutor$TransferHintsTask.<init>:(Lorg/apache/cassandra/hints/HintsDispatchExecutor;Lorg/apache/cassandra/hints/HintsCatalog;Ljava/util/function/Supplier;)V
            invokeinterface java.util.concurrent.ExecutorService.submit:(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
            areturn
        end local 2 // java.util.function.Supplier hostIdSupplier
        end local 1 // org.apache.cassandra.hints.HintsCatalog catalog
        end local 0 // org.apache.cassandra.hints.HintsDispatchExecutor this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    1     0            this  Lorg/apache/cassandra/hints/HintsDispatchExecutor;
            0    1     1         catalog  Lorg/apache/cassandra/hints/HintsCatalog;
            0    1     2  hostIdSupplier  Ljava/util/function/Supplier<Ljava/util/UUID;>;
    Signature: (Lorg/apache/cassandra/hints/HintsCatalog;Ljava/util/function/Supplier<Ljava/util/UUID;>;)Ljava/util/concurrent/Future;
    MethodParameters:
                Name  Flags
      catalog         
      hostIdSupplier  

  void completeDispatchBlockingly(org.apache.cassandra.hints.HintsStore);
    descriptor: (Lorg/apache/cassandra/hints/HintsStore;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // org.apache.cassandra.hints.HintsDispatchExecutor this
        start local 1 // org.apache.cassandra.hints.HintsStore store
         0: .line 117
            aload 0 /* this */
            getfield org.apache.cassandra.hints.HintsDispatchExecutor.scheduledDispatches:Ljava/util/Map;
            aload 1 /* store */
            getfield org.apache.cassandra.hints.HintsStore.hostId:Ljava/util/UUID;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.concurrent.Future
            astore 2 /* future */
        start local 2 // java.util.concurrent.Future future
         1: .line 120
            aload 2 /* future */
            ifnull 6
         2: .line 121
            aload 2 /* future */
            invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
            pop
         3: .line 122
            goto 6
         4: .line 123
      StackMap locals: org.apache.cassandra.hints.HintsDispatchExecutor org.apache.cassandra.hints.HintsStore java.util.concurrent.Future
      StackMap stack: java.lang.Exception
            astore 3 /* e */
        start local 3 // java.lang.Exception e
         5: .line 125
            new java.lang.RuntimeException
            dup
            aload 3 /* e */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.lang.Exception e
         6: .line 127
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.util.concurrent.Future future
        end local 1 // org.apache.cassandra.hints.HintsStore store
        end local 0 // org.apache.cassandra.hints.HintsDispatchExecutor this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Lorg/apache/cassandra/hints/HintsDispatchExecutor;
            0    7     1   store  Lorg/apache/cassandra/hints/HintsStore;
            1    7     2  future  Ljava/util/concurrent/Future;
            5    6     3       e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           1     3       4  Class java.util.concurrent.ExecutionException
           1     3       4  Class java.lang.InterruptedException
    MethodParameters:
       Name  Flags
      store  

  void interruptDispatch(java.util.UUID);
    descriptor: (Ljava/util/UUID;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // org.apache.cassandra.hints.HintsDispatchExecutor this
        start local 1 // java.util.UUID hostId
         0: .line 131
            aload 0 /* this */
            getfield org.apache.cassandra.hints.HintsDispatchExecutor.scheduledDispatches:Ljava/util/Map;
            aload 1 /* hostId */
            invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.concurrent.Future
            astore 2 /* future */
        start local 2 // java.util.concurrent.Future future
         1: .line 133
            aload 2 /* future */
            ifnull 3
         2: .line 134
            aload 2 /* future */
            iconst_1
            invokeinterface java.util.concurrent.Future.cancel:(Z)Z
            pop
         3: .line 135
      StackMap locals: java.util.concurrent.Future
      StackMap stack:
            return
        end local 2 // java.util.concurrent.Future future
        end local 1 // java.util.UUID hostId
        end local 0 // org.apache.cassandra.hints.HintsDispatchExecutor this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lorg/apache/cassandra/hints/HintsDispatchExecutor;
            0    4     1  hostId  Ljava/util/UUID;
            1    4     2  future  Ljava/util/concurrent/Future;
    MethodParameters:
        Name  Flags
      hostId  

  private java.util.concurrent.Future lambda$0(org.apache.cassandra.hints.HintsStore, java.util.UUID, java.util.UUID);
    descriptor: (Lorg/apache/cassandra/hints/HintsStore;Ljava/util/UUID;Ljava/util/UUID;)Ljava/util/concurrent/Future;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=6, locals=4, args_size=4
        start local 0 // org.apache.cassandra.hints.HintsDispatchExecutor this
        start local 3 // java.util.UUID uuid
         0: .line 107
            aload 0 /* this */
            getfield org.apache.cassandra.hints.HintsDispatchExecutor.executor:Ljava/util/concurrent/ExecutorService;
            new org.apache.cassandra.hints.HintsDispatchExecutor$DispatchHintsTask
            dup
            aload 0 /* this */
            aload 1
            aload 2
            invokespecial org.apache.cassandra.hints.HintsDispatchExecutor$DispatchHintsTask.<init>:(Lorg/apache/cassandra/hints/HintsDispatchExecutor;Lorg/apache/cassandra/hints/HintsStore;Ljava/util/UUID;)V
            invokeinterface java.util.concurrent.ExecutorService.submit:(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
            areturn
        end local 3 // java.util.UUID uuid
        end local 0 // org.apache.cassandra.hints.HintsDispatchExecutor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/hints/HintsDispatchExecutor;
            0    1     3  uuid  Ljava/util/UUID;
}
SourceFile: "HintsDispatchExecutor.java"
NestMembers:
  org.apache.cassandra.hints.HintsDispatchExecutor$DispatchHintsTask  org.apache.cassandra.hints.HintsDispatchExecutor$TransferHintsTask
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  private final DispatchHintsTask = org.apache.cassandra.hints.HintsDispatchExecutor$DispatchHintsTask of org.apache.cassandra.hints.HintsDispatchExecutor
  private final TransferHintsTask = org.apache.cassandra.hints.HintsDispatchExecutor$TransferHintsTask of org.apache.cassandra.hints.HintsDispatchExecutor