|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.reteoo.PartitionTaskManager
public class PartitionTaskManager
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.
| Nested Class Summary | |
|---|---|
static interface |
PartitionTaskManager.Action
An interface for all actions to be executed by the PartitionTask |
static class |
PartitionTaskManager.FactAction
An abstract super class for all handle-related actions |
static class |
PartitionTaskManager.FactAssertAction
|
static class |
PartitionTaskManager.LeftTupleAction
An abstract super class for all leftTuple-related actions |
static class |
PartitionTaskManager.LeftTupleAssertAction
|
static class |
PartitionTaskManager.LeftTupleRetractAction
|
static class |
PartitionTaskManager.PartitionTask
A worker task that keeps processing the nodes queue. |
| Constructor Summary | |
|---|---|
PartitionTaskManager(PartitionManager manager,
InternalWorkingMemory workingMemory)
|
|
| Method Summary | |
|---|---|
boolean |
enqueue(PartitionTaskManager.Action action)
Adds the given action to the processing queue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PartitionTaskManager(PartitionManager manager,
InternalWorkingMemory workingMemory)
| Method Detail |
|---|
public boolean enqueue(PartitionTaskManager.Action action)
action - the action to be processed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||