Package org.gephi.utils.longtask.api
API any module can use for providing long, asynchronous tasks execution.
The LongTaskExecutor can run any Runnable,
but preferably that also implements LongTask interface for
progress and cancellation.
-
Interface Summary Interface Description LongTaskErrorHandler Notify interface that can catchExceptionthrown during an asynchronous task execution.LongTaskListener Basic listener to be notified when a long task terminates. -
Class Summary Class Description LongTaskExecutor Portable long-task executor, that supports synchronous and asynchronous execution, progress, cancellation and error management.