List of usage examples for org.springframework.scheduling SchedulingTaskExecutor interface-usage
From source file com.saysth.commons.quartz.SimpleThreadPoolTaskExecutor.java
/**
* Subclass of Quartz's SimpleThreadPool that implements Spring's
* {@link org.springframework.core.task.TaskExecutor} interface and listens to
* Spring lifecycle callbacks.
*
* <p>
From source file org.green.code.async.executor.ThreadPoolTaskExecutor.java
/** * Based on @{link org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor}, * I used my custom {@link org.green.code.async.executor.ThreadPoolExecutor} in initializeExecutor method. */ @SuppressWarnings("serial") public class ThreadPoolTaskExecutor extends ExecutorConfigurationSupport implements SchedulingTaskExecutor {
From source file be.vlaanderen.sesam.monitor.internal.util.ThreadPoolTaskScheduler.java
/**
* Implementation of Spring's {@link TaskScheduler} interface, wrapping
* a native {@link java.util.concurrent.ScheduledThreadPoolExecutor}.
*
* @author Juergen Hoeller
* @author Mark Fisher
From source file org.springframework.scheduling.backportconcurrent.ThreadPoolTaskExecutor.java
/**
* JavaBean that allows for configuring a JSR-166 backport
* {@link edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor} in bean
* style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity"
* properties), exposing it as a Spring {@link org.springframework.core.task.TaskExecutor}.
* This is an alternative to configuring a ThreadPoolExecutor instance directly using
From source file org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor.java
/**
* JavaBean that allows for configuring a JDK 1.5 {@link java.util.concurrent.ThreadPoolExecutor}
* in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity"
* properties), exposing it as a Spring {@link org.springframework.core.task.TaskExecutor}.
* This is an alternative to configuring a ThreadPoolExecutor instance directly using
* constructor injection, with a separate {@link ConcurrentTaskExecutor} adapter wrapping it.
From source file org.springframework.scheduling.timer.TimerTaskExecutor.java
/**
* {@link org.springframework.core.task.TaskExecutor} implementation that uses a
* single {@link Timer} for executing all tasks, effectively resulting in
* serialized asynchronous execution on a single thread.
*
* @author Juergen Hoeller