weka.knowledgeflow
Interface CallbackNotifierDelegate
-
- All Known Implementing Classes:
- DefaultCallbackNotifierDelegate, DelayedCallbackNotifierDelegate
public interface CallbackNotifierDelegateInterface 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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidnotifyCallback(StepTaskCallback callback, StepTask taskExecuted, ExecutionResult result)Notify the supplied callback
-
-
-
Method Detail
-
notifyCallback
void notifyCallback(StepTaskCallback callback, StepTask taskExecuted, ExecutionResult result) throws java.lang.Exception
Notify the supplied callback- Parameters:
callback- the callback to notifytaskExecuted- the StepTask that was executedresult- the ExecutionResult that was produced- Throws:
java.lang.Exception- if a problem occurs
-
-
DataMelt 3.0 © DataMelt by jWork.ORG