Class AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.AtFixedRate

    • Field Detail

      • scheduledExecutorService

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

        private final long time
        The time interval between schedulings.
      • timeUnit

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

      • AtFixedRate

        public AtFixedRate​(java.util.concurrent.ScheduledExecutorService scheduledExecutorService,
                           long time,
                           java.util.concurrent.TimeUnit timeUnit)
        Creates a new resubmission scheduler which schedules executions at a fixed rate.
        Parameters:
        scheduledExecutorService - The executor service to schedule to.
        time - The time interval between schedulings.
        timeUnit - The time's time unit.