Class SyncTask

  • All Implemented Interfaces:
    Task

    public class SyncTask
    extends AbstractTask
    SyncTask
    Version:
    $Id: $
    Author:
    brozow
    • Method Detail

      • doSubmit

        protected void doSubmit()
        This method submits a task to be executed and is called when all dependencies are completed for that task This method should place a runnable on an executor or submit the task in some other way so that it will run as soon as possible. Tasks that have no processing to be done may override completeSubmit to notify the Task coordinator that the task is done.
        Overrides:
        doSubmit in class AbstractTask
      • getPreferredExecutor

        public String getPreferredExecutor()

        getPreferredExecutor

        Returns:
        a String object.
      • setPreferredExecutor

        public void setPreferredExecutor​(String preferredExecutor)

        setPreferredExecutor

        Parameters:
        preferredExecutor - a String object.