Interface TimerAccess


@Deprecated(forRemoval=true) public interface TimerAccess
Deprecated, for removal: This API element is subject to removal in a future version.
Provides read-only view into the SmallRye Fault Tolerance timer.

Implementations must be thread-safe.

  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • countScheduledTasks

      @Deprecated(forRemoval=true) int countScheduledTasks()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the number of tasks that are currently scheduled for execution by the timer. Finished tasks and tasks that are already running are not included.
      Returns:
      the number of currently scheduled tasks