Class AbstractScheduledTask

java.lang.Object
com.github.darksoulq.abyssallib.server.scheduler.AbstractScheduledTask

public class AbstractScheduledTask extends Object
  • Constructor Details

  • Method Details

    • getWrappedRunnable

      public Runnable getWrappedRunnable(Runnable action, long periodMillis)
    • cancel

      public void cancel()
    • isCancelled

      public boolean isCancelled()
    • isRunning

      public boolean isRunning()
    • nextExecution

      public Instant nextExecution()
    • failure

      public Optional<Throwable> failure()
    • completion

      public CompletionStage<Void> completion()