Interface CronInvocation

  • All Superinterfaces:
    Invocation

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

      • 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