Documentation of 'weka.knowledgeflow.DelayedCallbackNotifierDelegate' Java class
DelayedCallbackNotifierDelegate
weka.knowledgeflow

Class DelayedCallbackNotifierDelegate

  • All Implemented Interfaces:
    CallbackNotifierDelegate


    public class DelayedCallbackNotifierDelegate
    extends java.lang.Object
    implements CallbackNotifierDelegate
    Implementation of a CallbackNotifierDelegate that stores the ExecutionResult and only notifies the callback when the notifyNow() method is called.
    • Constructor Detail

      • DelayedCallbackNotifierDelegate

        public DelayedCallbackNotifierDelegate()
    • Method Detail

      • notifyCallback

        public void notifyCallback(StepTaskCallback callback,
                                   StepTask taskExecuted,
                                   ExecutionResult result)
                            throws java.lang.Exception
        Notify the callback. This implementation stores the result, and only notifies the callback when the notifyNow() method is called.
        Specified by:
        notifyCallback in interface CallbackNotifierDelegate
        Parameters:
        callback - the callback to notify
        taskExecuted - the StepTask that was executed
        result - the ExecutionResult that was produced
        Throws:
        java.lang.Exception - if a problem occurs
      • notifyNow

        public void notifyNow()
                       throws java.lang.Exception
        Do the notification now
        Throws:
        java.lang.Exception - if a problem occurs

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.