Interface AsyncWebProcessManager

All Known Implementing Classes:
AsyncWebProcessManagerImpl

public interface AsyncWebProcessManager
Interface that helps with management of asynchrlnous processes in GUI.
Author:
Viliam Repan (lazyman)
  • Method Details

    • createProcess

      <T> AsyncWebProcess<T> createProcess(T data)
      Create process instance reference.
      Parameters:
      data - Optional input data.
    • getProcess

      <T> AsyncWebProcess<T> getProcess(@NotNull @NotNull String processId)
    • removeProcess

      boolean removeProcess(@NotNull @NotNull String processId)
    • submit

      void submit(@NotNull @NotNull String processId, Runnable runnable)
    • submit

      void submit(@NotNull @NotNull String processId, @NotNull @NotNull Callable<?> callable)