org.cougaar.lib.filter |
|
Java Source File Name | Type | Comment |
UTILAggregatorPlugin.java | Interface | An aggregator is a plugin that is interested in aggregations (it's products)
and assets. |
UTILAggregatorPluginAdapter.java | Class |
By default listens for all Assets (please override
createAssetCallback to make more specific). |
UTILAirBufferingPlugin.java | Interface | The interface between the plugin and the BufferingThread. |
UTILAllocatorPlugin.java | Interface | An allocator is a plugin that is interested in allocations
and assets. |
UTILAllocatorPluginAdapter.java | Class |
By default listens for all Assets (please override
createAssetCallback to make more specific). |
UTILBufferingPlugin.java | Interface | The interface between the plugin and the BufferingThread. |
UTILBufferingPluginAdapter.java | Class |
Example implementation of a plugin that buffers tasks
until a certain threshold is reached. |
UTILBufferingThread.java | Class | Interacts with a BufferingPlugin.
Implements runnable -- must be started inside a java Thread.
Main methods are addTask and dispatchTasks, which runs whenever
threshold conditions are met.
Note that although the method is named add*Task*, it takes an Object,
not a Task, so that if for some reason a client wanted to buffer
up, say, assets, this class could be used without modification.
This class doesn't do much by itself -- it needs to be a listener
to get tasks. |
UTILExpanderPlugin.java | Interface | An expander just listens for "generic" events and then
requires expandable tasks to be expanded with getSubtasks.
Note that it is the filter callback which will feed it expandable
tasks. |
UTILExpanderPluginAdapter.java | Class |
The UTILExpanderPluginAdapter is a handy base class for TOPS/GLMTrans
Expanders. |
UTILListeningBufferingThread.java | Class |
A buffering thread that is a generic listener. |
UTILPlugin.java | Interface | Plugins listen for organization changes.
Plugins have parameters.
Plugins set up filterCallbacks.
Plugins dispatch filter changes
to the appropriate filter. |
UTILPluginAdapter.java | Class |
Implementation of UTILPlugin interface. |
UTILSingleTaskAllocatorPlugin.java | Class | Listeners for workflow tasks that should be handled one at a
time, in contrast to the bufferingAllocator. |
UTILSingleTaskWorkflowPlugin.java | Interface | Defines interface for simple, non-threaded allocators.
I.e. |
UTILTaskChecker.java | Interface | Interface for listeners that check task consistency. |
UTILTimeoutBufferingPlugin.java | Interface | The interface between the plugin and the TimeoutBufferingThread. |
UTILTimeoutBufferingThread.java | Class |
Interacts with a BufferingPlugin.
Implements runnable -- must be started inside a java Thread.
Main methods are addTask and dispatchTasks, which runs whenever
threshold conditions are met.
Note that although the method is named add*Task*, it takes an Object,
not a Task, so that if for some reason a client wanted to buffer
up, say, assets, this class could be used without modification.
This class doesn't do much by itself -- it needs to be a listener
to get tasks. |