Package org.drools.base.common
Class PartitionsManager
- java.lang.Object
-
- org.drools.base.common.PartitionsManager
-
public class PartitionsManager extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PartitionsManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.concurrent.ExecutorServiceborrowFireUntilHaltExecutors()RuleBasePartitionIdcreateNewPartitionId()static java.util.concurrent.ForkJoinPoolgetFireAllExecutors()intgetParallelEvaluationSlotsCount()booleanhasParallelEvaluation()voidinit()static voidofferFireUntilHaltExecutors(java.util.concurrent.ExecutorService executor)
-
-
-
Method Detail
-
createNewPartitionId
public RuleBasePartitionId createNewPartitionId()
-
hasParallelEvaluation
public boolean hasParallelEvaluation()
-
getParallelEvaluationSlotsCount
public int getParallelEvaluationSlotsCount()
-
init
public void init()
-
getFireAllExecutors
public static java.util.concurrent.ForkJoinPool getFireAllExecutors()
-
borrowFireUntilHaltExecutors
public static java.util.concurrent.ExecutorService borrowFireUntilHaltExecutors()
-
offerFireUntilHaltExecutors
public static void offerFireUntilHaltExecutors(java.util.concurrent.ExecutorService executor)
-
-