Class TaskManagerUtil

  • public class TaskManagerUtil
    extends Object
    • Constructor Detail

      • TaskManagerUtil

        public TaskManagerUtil()
    • Method Detail

      • getNodeRestrictions

        public static Map<String,​Integer> getNodeRestrictions​(String group,
                                                                    List<NodeType> nodes)
        Returns how many threads are available for execution of a given group on a list of nodes. If returned key is null, this means "unlimited" (i.e. limited only by the node thread pool size).