Interface ManagementRequestContext.AsyncTask<A>

All Known Subinterfaces:
ManagementRequestContext.MultipleResponseAsyncTask<A>
Enclosing interface:
ManagementRequestContext<A>

public static interface ManagementRequestContext.AsyncTask<A>
A task that can be executed asynchronously by a ManagementRequestContext
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Execute the task.
  • Method Details

    • execute

      void execute(ManagementRequestContext<A> context) throws Exception
      Execute the task.

      If the task throws an exception during execution, the failed method of the ResultHander associated with the request will be invoked, and if it returns true a failure message will be sent to the remote client.

      Parameters:
      context - the request context
      Throws:
      Exception