Interface Runner

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 Runner
Functional interface representing an asynchronous task to be executed by an AsyncGroup.

Tasks implementing this interface are added to an AsyncGroup (via AsyncGroup.add(Runner)) during data source or data connection lifecycle events (such as setup, commit, or rollback) to perform parallel background processing.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    Runs the asynchronous background task.
  • Method Details

    • run

      void run() throws com.github.sttk.errs.Err
      Runs the asynchronous background task.
      Throws:
      com.github.sttk.errs.Err - if an error occurs during task execution