Class TaskManagerUtil


  • public class TaskManagerUtil
    extends Object
    Author:
    mederly
    • Constructor Detail

      • TaskManagerUtil

        public TaskManagerUtil()
    • Method Detail

      • getNodeRestrictions

        @NotNull
        public static @NotNull Map<String,​Integer> getNodeRestrictions​(String group,
                                                                             @NotNull
                                                                             @NotNull 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).