Class UiAsyncTasks.AbstractAsyncTaskConfigurer

java.lang.Object
io.jmix.flowui.asynctask.UiAsyncTasks.AbstractAsyncTaskConfigurer
Direct Known Subclasses:
UiAsyncTasks.RunnableConfigurer, UiAsyncTasks.SupplierConfigurer
Enclosing class:
UiAsyncTasks

protected abstract class UiAsyncTasks.AbstractAsyncTaskConfigurer extends Object
Abstract base class for asynchronous task builders.
  • Field Details

    • exceptionHandler

      protected Consumer<Throwable> exceptionHandler
    • ui

      protected com.vaadin.flow.component.UI ui
    • timeout

      protected int timeout
    • timeoutUnit

      protected TimeUnit timeoutUnit
  • Constructor Details

    • AbstractAsyncTaskConfigurer

      public AbstractAsyncTaskConfigurer()
  • Method Details

    • configureTimeout

      protected void configureTimeout(CompletableFuture<Void> resultCompletableFuture)
    • configureExceptionHandler

      protected void configureExceptionHandler(CompletableFuture<Void> completableFuture)