Interface CronInvocation

All Superinterfaces:
Invocation

public interface CronInvocation extends Invocation
Specific method invocation metadata for scheduled task.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    When true, next task is started even if previous didn't finish yet.
    Cron expression specifying interval invocation is scheduled with.

    Methods inherited from interface Invocation

    description, iteration
    Modifier and Type
    Method
    Description
    Human readable description of the scheduled interval.
    long
    How many times has been scheduled method invoked yet.
  • Method Details

    • cron

      String cron()
      Cron expression specifying interval invocation is scheduled with.
      Returns:
      cron expression
    • concurrent

      boolean concurrent()
      When true, next task is started even if previous didn't finish yet.
      Returns:
      true means allowing concurrent invocation