
com.groupbyinc.flux.tasks.TaskManager.class Maven / Gradle / Ivy
???? 3r %com/groupbyinc/flux/tasks/TaskManager 6com/groupbyinc/flux/common/component/AbstractComponent 0com/groupbyinc/flux/cluster/ClusterStateListener TaskManager.java ;com/groupbyinc/flux/tasks/TaskManager$CancellableTaskHolder CancellableTaskHolder java/util/Map$Entry
java/util/Map
Entry tasks >Lcom/groupbyinc/flux/common/util/concurrent/ConcurrentMapLong; `Lcom/groupbyinc/flux/common/util/concurrent/ConcurrentMapLong; cancellableTasks }Lcom/groupbyinc/flux/common/util/concurrent/ConcurrentMapLong; taskIdGenerator (Ljava/util/concurrent/atomic/AtomicLong; banedParents Ljava/util/Map; ELjava/util/Map; lastDiscoveryNodes 1Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes; $assertionsDisabled Z 1(Lcom/groupbyinc/flux/common/settings/Settings;)V
@com/groupbyinc/flux/common/util/concurrent/ConcurrentCollections " -newConcurrentMapLongWithAggressiveConcurrency @()Lcom/groupbyinc/flux/common/util/concurrent/ConcurrentMapLong; $ %
# & ( * &java/util/concurrent/atomic/AtomicLong , ()V .
- / 1 &java/util/concurrent/ConcurrentHashMap 3
4 / 6 /com/groupbyinc/flux/cluster/node/DiscoveryNodes 8 EMPTY_NODES : 9 ; = this 'Lcom/groupbyinc/flux/tasks/TaskManager; settings .Lcom/groupbyinc/flux/common/settings/Settings; register v(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportRequest;)Lcom/groupbyinc/flux/tasks/Task; incrementAndGet ()J E F
- G .com/groupbyinc/flux/transport/TransportRequest I
createTask G(JLjava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/tasks/Task; K L
J M logger -Lcom/groupbyinc/flux/common/logging/ESLogger; O P Q +com/groupbyinc/flux/common/logging/ESLogger S isTraceEnabled ()Z U V T W register {} [{}] [{}] [{}] Y java/lang/Object [ com/groupbyinc/flux/tasks/Task ] getId _ F
^ ` java/lang/Long b valueOf (J)Ljava/lang/Long; d e
c f getDescription ()Ljava/lang/String; h i
^ j trace ((Ljava/lang/String;[Ljava/lang/Object;)V l m T n )com/groupbyinc/flux/tasks/CancellableTask p .(Lcom/groupbyinc/flux/tasks/CancellableTask;)V r
s