org.drools.reteoo
Class PartitionTaskManager
java.lang.Object
org.drools.reteoo.PartitionTaskManager
public class PartitionTaskManager
- extends Object
A class to control the tasks for a given rulebase partition.
It requires a thread pool that is created in the working
memory and injected in here.
|
Field Summary |
protected static org.slf4j.Logger |
logger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static transient org.slf4j.Logger logger
PartitionTaskManager
public PartitionTaskManager(PartitionManager manager,
InternalWorkingMemory workingMemory)
enqueue
public boolean enqueue(PartitionTaskManager.Action action)
- Adds the given action to the processing queue
- Parameters:
action - the action to be processed
- Returns:
- true if the action was successfully added to the processing queue. false otherwise.
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.