Interface AsyncJob<T>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AsyncJob<T>
Interface to be implemented (as lambdas), for working with AsyncJobManager.
  • Method Summary

    Modifier and Type
    Method
    Description
    Run the job, taking a callback object (where you can communicate your status back), returning a result when you're done..
  • Method Details

    • run

      T run(AsyncJobCallback callback) throws Exception
      Run the job, taking a callback object (where you can communicate your status back), returning a result when you're done..
      Throws:
      Exception