| org.cougaar.lib.filter.UTILBufferingPlugin
All known Subclasses: org.cougaar.lib.filter.UTILBufferingPluginAdapter,
UTILBufferingPlugin | public interface UTILBufferingPlugin extends UTILFilterCallbackListener,UTILTaskChecker(Code) | | The interface between the plugin and the BufferingThread.
Defines a one-way flow of communication between the BufferingThread
and the plugin.
The buffering thread needs parameters from the plugin, a way to
ask it which tasks are interesting (since it's the listener, not the
plugin), it needs to be able to lock the container, and finally tell the
plugin when it has buffered up the required number of tasks.
Since processTasks takes an Enumeration, a BufferingThread subclass could
give the BufferingPlugin a list of non-tasks (workflows? allocations?)
that it wished to buffer.
|
examineBufferAgainIn | void examineBufferAgainIn(long millis)(Code) | | |
getName | String getName()(Code) | | get readable, unique name of plugin
|
interestingTask | boolean interestingTask(Task t)(Code) | | Defines tasks you find interesting.
Parameters: t - Task to check for interest boolean true if task is interesting |
processTasks | void processTasks(List tasks)(Code) | | Deal with the tasks that we have accumulated.
Derived plugins must implement this.
Parameters: tasks - the tasks to handle |
|
|