org.springframework.integration.scheduling
Interface TaskScheduler

All Superinterfaces:
org.springframework.context.Lifecycle, org.springframework.scheduling.SchedulingTaskExecutor, org.springframework.core.task.TaskExecutor
All Known Implementing Classes:
ProviderTaskScheduler

public interface TaskScheduler
extends org.springframework.scheduling.SchedulingTaskExecutor, org.springframework.context.Lifecycle

Base interface for scheduling messaging tasks.

Author:
Mark Fisher

Method Summary
 boolean cancel(java.lang.Runnable task, boolean mayInterruptIfRunning)
           
 java.util.concurrent.ScheduledFuture<?> schedule(SchedulableTask task)
           
 void setErrorHandler(ErrorHandler errorHandler)
           
 
Methods inherited from interface org.springframework.scheduling.SchedulingTaskExecutor
prefersShortLivedTasks
 
Methods inherited from interface org.springframework.core.task.TaskExecutor
execute
 
Methods inherited from interface org.springframework.context.Lifecycle
isRunning, start, stop
 

Method Detail

schedule

java.util.concurrent.ScheduledFuture<?> schedule(SchedulableTask task)

cancel

boolean cancel(java.lang.Runnable task,
               boolean mayInterruptIfRunning)

setErrorHandler

void setErrorHandler(ErrorHandler errorHandler)