Interface LocalSchedulerService.Configuration<K>
- Type Parameters:
K- the scheduled entry key type
- Enclosing class:
LocalSchedulerService<K>
public static interface LocalSchedulerService.Configuration<K>
Encapsulates configuration of a
LocalSchedulerService.- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiondefault DurationReturns the duration of time to wait for scheduled tasks to complete onSchedulerService.close().getName()Returns the name of this scheduler.default ScheduledEntries<K, Instant> Returns the scheduled entries collection used by this scheduler.getTask()Returns the scheduled task.Returns a thread factory for use by this scheduler.
-
Method Details
-
getName
-
getScheduledEntries
Returns the scheduled entries collection used by this scheduler.- Returns:
- the scheduled entries collection used by this scheduler.
-
getTask
-
getThreadFactory
ThreadFactory getThreadFactory()Returns a thread factory for use by this scheduler.- Returns:
- a thread factory for use by this scheduler.
-
getCloseTimeout
Returns the duration of time to wait for scheduled tasks to complete onSchedulerService.close().- Returns:
- the duration of time to wait for scheduled tasks to complete on
SchedulerService.close().
-