Class AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.WithFixedDelay

    • Field Detail

      • scheduledExecutorService

        private final java.util.concurrent.ScheduledExecutorService scheduledExecutorService
        The executor service to schedule to.
      • time

        private final long time
        The time interval to pause between completed jobs.
      • timeUnit

        private final java.util.concurrent.TimeUnit timeUnit
        The time's time unit.
    • Constructor Detail

      • WithFixedDelay

        public WithFixedDelay​(java.util.concurrent.ScheduledExecutorService scheduledExecutorService,
                              long time,
                              java.util.concurrent.TimeUnit timeUnit)
        Creates a new resubmission scheduler with a fixed delay between job executions.
        Parameters:
        scheduledExecutorService - The executor service to schedule to.
        time - The time interval to pause between completed jobs.
        timeUnit - The time's time unit.