Package weka.knowledgeflow
Interface CallbackNotifierDelegate
- All Known Implementing Classes:
DefaultCallbackNotifierDelegate
,DelayedCallbackNotifierDelegate
public interface CallbackNotifierDelegate
Interface to something that can notify a Step that a Task submitted by
ExecutionEnvironment.submitTask() has finished. The default implementation
notifies the Step as soon as the task has completed. Other implementations
might delay notification (e.g. if a task gets executed on a remote machine
then we will want to delay notification until receiving the result back over
the wire.
- Version:
- $Revision: $
- Author:
- Mark Hall (mhall{[at]}pentaho{[dot]}com)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
notifyCallback
(StepTaskCallback callback, StepTask taskExecuted, ExecutionResult result) Notify the supplied callback
-
Method Details
-
notifyCallback
void notifyCallback(StepTaskCallback callback, StepTask taskExecuted, ExecutionResult result) throws Exception Notify the supplied callback- Parameters:
callback
- the callback to notifytaskExecuted
- the StepTask that was executedresult
- the ExecutionResult that was produced- Throws:
Exception
- if a problem occurs
-