org.springframework.integration.scheduling
Interface TaskScheduler

All Superinterfaces:
org.springframework.context.Lifecycle
All Known Implementing Classes:
SimpleTaskScheduler

public interface TaskScheduler
extends org.springframework.context.Lifecycle

Base interface for scheduling tasks.

Author:
Mark Fisher, Marius Bogoevici, Iwein Fuld

Method Summary
 java.util.concurrent.ScheduledFuture<?> schedule(java.lang.Runnable task, Trigger trigger)
          Schedules a task for multiple executions according to a Trigger.
 
Methods inherited from interface org.springframework.context.Lifecycle
isRunning, start, stop
 

Method Detail

schedule

java.util.concurrent.ScheduledFuture<?> schedule(java.lang.Runnable task,
                                                 Trigger trigger)
Schedules a task for multiple executions according to a Trigger.

Parameters:
task - Task to be run multiple times
trigger - Trigger that determines at which times the task should be run