Uses of Class
dev.mccue.guava.concurrent.AbstractScheduledService.Scheduler
-
Uses of AbstractScheduledService.Scheduler in dev.mccue.guava.concurrent
Subclasses of AbstractScheduledService.Scheduler in dev.mccue.guava.concurrentModifier and TypeClassDescriptionstatic classASchedulerthat provides a convenient way for theAbstractScheduledServiceto use a dynamically changing schedule.Methods in dev.mccue.guava.concurrent that return AbstractScheduledService.SchedulerModifier and TypeMethodDescriptionAbstractScheduledService.Scheduler.newFixedDelaySchedule(long initialDelay, long delay, TimeUnit unit) Returns aSchedulerthat schedules the task using theScheduledExecutorService#scheduleWithFixedDelaymethod.AbstractScheduledService.Scheduler.newFixedDelaySchedule(Duration initialDelay, Duration delay) Returns aSchedulerthat schedules the task using theScheduledExecutorService#scheduleWithFixedDelaymethod.AbstractScheduledService.Scheduler.newFixedRateSchedule(long initialDelay, long period, TimeUnit unit) Returns aSchedulerthat schedules the task using theScheduledExecutorService#scheduleAtFixedRatemethod.AbstractScheduledService.Scheduler.newFixedRateSchedule(Duration initialDelay, Duration period) Returns aSchedulerthat schedules the task using theScheduledExecutorService#scheduleAtFixedRatemethod.protected abstract AbstractScheduledService.SchedulerAbstractScheduledService.scheduler()Returns theSchedulerobject used to configure this service.