## Uses of Class
de.esprit.common.anno.Async

- Packages that use Async
  Package | Description
  --- | ---
  de.esprit.appsuite.database.dbase | Contains most of the database related classes.
  de.esprit.appsuite.gui.task | Contains GUI support classes for async tasks
  de.esprit.appsuite.task | Contains basic classes that make up the AsyncTask framework
  de.esprit.appsuite.task.monitor | Contains support classes for monitoring async tasks
  de.esprit.appsuite.workflow | Contains classes for building workflows upon async tasks
  de.esprit.appsuite.workflow.wft | Contains support classes for building workflow tasks
  de.esprit.netsuite.client.net | Contains GUI gui components for network controlling and monitoring
  de.esprit.netsuite.rtask | Contains extensions for RemoteAsyncTask support
  de.esprit.netsuite.server.cpu | Contains classes of the positioner tool (MVC-demo)

- - ### Uses of Async in de.esprit.appsuite.database.dbase

    Methods in de.esprit.appsuite.database.dbase with annotations of type Async
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | DBLoadMonitor.`loadedRecord(R record)` Is called each time a record was fetched from the underlying ResultSet

  - ### Uses of Async in de.esprit.appsuite.gui.task

    Methods in de.esprit.appsuite.gui.task with annotations of type Async
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | SwingTaskMonitor.`accept(RunState stateFlag)` May be overridden to filter the `RunState` before actually firing a `TaskEvent`.
    `void` | SwingTaskMonitor.`taskCancelled(RunStateFlag stateFlag)`
    `void` | SwingTaskMonitor.`taskChildFinished(RunStateFlag stateFlag)`
    `void` | SwingTaskMonitor.`taskChildStarted(RunStateFlag stateFlag)`
    `void` | SwingTaskMonitor.`taskChildSucceeded(RunStateFlag stateFlag, java.lang.Object result)`
    `void` | SwingTaskMonitor.`taskFailed(RunStateFlag stateFlag, java.lang.Exception error)`
    `void` | SwingTaskMonitor.`taskFinished(RunStateFlag stateFlag)`
    `void` | SwingTaskMonitor.`taskProceeded(RunStateFlag stateFlag, java.lang.Object info, int step, int maxSteps, java.lang.String message)`
    `void` | SwingTaskMonitor.`taskStarted(RunStateFlag stateFlag)`
    `void` | SwingTaskMonitor.`taskSucceeded(RunStateFlag stateFlag, java.lang.Object result)`

  - ### Uses of Async in de.esprit.appsuite.task

    Methods in de.esprit.appsuite.task with annotations of type Async
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | AbstractAsyncExecutable.`doOnCancel()` This method is called after having detected cancellation.
    `protected void` | AbstractAsyncExecutable.`doOnFailure(java.lang.Exception error)` Is called when the task failed.
    `protected void` | AbstractAsyncTask.`doOnFinish()` Is called in ANY CASE when the task has finished.
    `protected void` | AbstractAsyncTask.`doOnStart()` Is called when the task actually has started.
    `protected void` | AbstractAsyncTask.`doOnSuccess()` Is called when the task has succeeded.
    `void` | AsyncExecutable.`executeAsync()` Contains the code to be executed asynchronously.
    `void` | AsyncTask.`executeChildTask(AsyncTask childTask)` Runs the child-task in the default executor of the `ApplicationContext`.
    `void` | AsyncTask.`executeChildTask(AsyncTask childTask, java.util.concurrent.ExecutorService pool)` Runs the child-task asynchronously as a task on it's own.
    `void` | AbstractAsyncExecutable.`notifyProceeded(java.lang.Object result, int step, int maxSteps, java.lang.String message)` Notifies progress to an attached task-monitor.
    `void` | AbstractAsyncTask.`run()` This method defines a clean task body around the asynchronously called `AbstractAsyncTask.executeAsync()` method.
    `void` | AbstractAsyncExecutable.`setResult(java.lang.Object result)` If this task produces any result it uses this method to store it.
    `void` | DefaultTaskMonitor.`taskCancelled(RunStateFlag stateFlag)`
    `void` | DefaultTaskMonitor.`taskChildFinished(RunStateFlag stateFlag)`
    `void` | DefaultTaskMonitor.`taskChildStarted(RunStateFlag stateFlag)`
    `void` | DefaultTaskMonitor.`taskChildSucceeded(RunStateFlag stateFlag, java.lang.Object result)`
    `void` | DefaultTaskMonitor.`taskFailed(RunStateFlag stateFlag, java.lang.Exception error)`
    `void` | DefaultTaskMonitor.`taskFinished(RunStateFlag stateFlag)`
    `void` | DefaultTaskMonitor.`taskProceeded(RunStateFlag stateFlag, java.lang.Object obj, int step, int maxSteps, java.lang.String message)`
    `void` | DefaultTaskMonitor.`taskStarted(RunStateFlag stateFlag)`
    `void` | DefaultTaskMonitor.`taskSucceeded(RunStateFlag stateFlag, java.lang.Object result)`
    `protected abstract void` | AbstractTimerTask.`timerFired()` Note that this method is called asynchronously by the timer task.

  - ### Uses of Async in de.esprit.appsuite.task.monitor

    Methods in de.esprit.appsuite.task.monitor with annotations of type Async
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | TaskMonitor.`accept(RunState state)` Tells whether the monitor wants to be notified about this `RunState`.
    `void` | TaskMonitor.`taskCancelled(RunStateFlag stateFlag)` Called when the async task has discovered that it was cancelled
    `void` | TaskMonitor.`taskFailed(RunStateFlag stateFlag, java.lang.Exception error)` Called when the async task failed
    `void` | TaskMonitor.`taskFinished(RunStateFlag stateFlag)` Called when the async task finished
    `void` | TaskMonitor.`taskProceeded(RunStateFlag stateFlag, java.lang.Object result, int step, int maxSteps, java.lang.String message)` Is called on task progress.
    `void` | TaskMonitor.`taskStarted(RunStateFlag stateFlag)` Called when the async task started
    `void` | TaskMonitor.`taskSucceeded(RunStateFlag stateFlag, java.lang.Object result)` Called when the async task succeeded

  - ### Uses of Async in de.esprit.appsuite.workflow

    Methods in de.esprit.appsuite.workflow with annotations of type Async
    Modifier and Type | Method and Description
    --- | ---
    `void` | WorkflowTask.`executeAsyncImpl()` This method is executed asynchronously

  - ### Uses of Async in de.esprit.appsuite.workflow.wft

    Methods in de.esprit.appsuite.workflow.wft with annotations of type Async
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractWFT.`executeAsyncImpl()`

  - ### Uses of Async in de.esprit.netsuite.client.net

    Methods in de.esprit.netsuite.client.net with annotations of type Async
    Modifier and Type | Method and Description
    --- | ---
    `void` | GuiReconnectorTask.`executeAsync()`

  - ### Uses of Async in de.esprit.netsuite.rtask

    Methods in de.esprit.netsuite.rtask with annotations of type Async
    Modifier and Type | Method and Description
    --- | ---
    `void` | RemoteTaskMonitor.`taskCancelled(RunStateFlag stateFlag)`
    `void` | RemoteTaskMonitor.`taskChildFinished(RunStateFlag stateFlag)`
    `void` | RemoteTaskMonitor.`taskChildStarted(RunStateFlag stateFlag)`
    `void` | RemoteTaskMonitor.`taskChildSucceeded(RunStateFlag stateFlag, java.lang.Object result)`
    `void` | RemoteTaskMonitor.`taskFailed(RunStateFlag stateFlag, java.lang.Exception error)`
    `void` | RemoteTaskMonitor.`taskFinished(RunStateFlag stateFlag)`
    `void` | RemoteTaskMonitor.`taskProceeded(RunStateFlag stateFlag, java.lang.Object result, int step, int maxSteps, java.lang.String message)`
    `void` | RemoteTaskMonitor.`taskStarted(RunStateFlag stateFlag)`
    `void` | RemoteTaskMonitor.`taskSucceeded(RunStateFlag stateFlag, java.lang.Object result)`

  - ### Uses of Async in de.esprit.netsuite.server.cpu

    Methods in de.esprit.netsuite.server.cpu with annotations of type Async
    Modifier and Type | Method and Description
    --- | ---
    `void` | AgentTaskMonitor.`taskCancelled(RunStateFlag stateFlag)`
    `void` | AgentTaskMonitor.`taskFailed(RunStateFlag stateFlag, java.lang.Exception error)`
    `void` | AgentTaskMonitor.`taskFinished(RunStateFlag stateFlag)`
    `void` | AgentTaskMonitor.`taskProceeded(RunStateFlag stateFlag, java.lang.Object result, int step, int maxSteps, java.lang.String message)`
    `void` | AgentTaskMonitor.`taskStarted(RunStateFlag stateFlag)`
    `void` | AgentTaskMonitor.`taskSucceeded(RunStateFlag stateFlag, java.lang.Object result)`

Copyright © 2014 EsprIT-Systems. All Rights Reserved.