Spring Framwork Integration v5.3.36 SNAPSHOTTaskScheduler { ScheduledFuture schedule(Runnable task, Trigger trigger); ScheduledFuture schedule(Runnable task, Instant startTime); ScheduledFuture schedule(Runnable task, Date startTime); ScheduledFuture scheduleWithFixedDelay(Runnable task, long delay); } The simplest method is the one named schedule that takes only a Runnable and a Date. That causes the task to run once after the specified time run 15 minutes past each hour but only during the 9-to-5 “business hours” on weekdays: scheduler.schedule(task, new CronTrigger("0 15 9-17 * * MON-FRI")); The other implementation is a PeriodicTrigger0 码力 | 141 页 | 2.13 MB | 1 年前3
Spring Framework Reference Documentation 4.3.26.RELEASEdestinations that it shares with other modules. A RAR-based ApplicationContext may also, for example, schedule some jobs, reacting to new files in the file system (or the like). If it needs to allow synchronous the future. public interface TaskScheduler { ScheduledFuture schedule(Runnable task, Trigger trigger); ScheduledFuture schedule(Runnable task, Date startTime); ScheduledFuture scheduleAtFixedRate(Runnable ScheduledFuture scheduleWithFixedDelay(Runnable task, long delay); } The simplest method is the one named 'schedule' that takes a Runnable and Date only. That will cause the task to run once after the specified time0 码力 | 1323 页 | 4.08 MB | 1 年前3
Spring Framework Reference Documentation v4.3.2destinations that it shares with other modules. A RAR-based ApplicationContext may also, for example, schedule some jobs, reacting to new files in the file system (or the like). If it needs to allow synchronous the future. public interface TaskScheduler { ScheduledFuture schedule(Runnable task, Trigger trigger); ScheduledFuture schedule(Runnable task, Date startTime); ScheduledFuture scheduleAtFixedRate(Runnable ScheduledFuture scheduleWithFixedDelay(Runnable task, long delay); } The simplest method is the one named 'schedule' that takes a Runnable and Date only. That will cause the task to run once after the specified time0 码力 | 1311 页 | 4.07 MB | 1 年前3
Spring Framework Reference Documentation 4.3.26.RELEASEdestinations that it shares with other modules. A RAR-based ApplicationContext may also, for example, schedule some jobs, reacting to new files in the file system (or the like). If it needs to allow synchronous the future. public interface TaskScheduler { ScheduledFuture schedule(Runnable task, Trigger trigger); ScheduledFuture schedule(Runnable task, Date startTime); ScheduledFuture scheduleAtFixedRate(Runnable ScheduledFuture scheduleWithFixedDelay(Runnable task, long delay); } The simplest method is the one named 'schedule' that takes a Runnable and Date only. That will cause the task to run once after the specified time0 码力 | 916 页 | 5.52 MB | 1 年前3
Spring Framework Reference Documentation v4.3.2destinations that it shares with other modules. A RAR-based ApplicationContext may also, for example, schedule some jobs, reacting to new files in the file system (or the like). If it needs to allow synchronous Framework 754 public interface TaskScheduler { ScheduledFuture schedule(Runnable task, Trigger trigger); ScheduledFuture schedule(Runnable task, Date startTime); ScheduledFuture scheduleAtFixedRate(Runnable ScheduledFuture scheduleWithFixedDelay(Runnable task, long delay); } The simplest method is the one named 'schedule' that takes a Runnable and Date only. That will cause the task to run once after the specified time0 码力 | 907 页 | 5.46 MB | 1 年前3
Spring Framework 1.1.1 Referenceconvenience bean that allows to you invoke a method on a specific object. Of course we still need to schedule the jobs themselves. This is done using triggers and a Scheduling jobs using Quartz or Timer Spring hedulerFactoryBean.html) for more information. 18.3. Using JDK Timer support The other way to schedule jobs is using the JDK Timer objects. More information about Timers themselves can be found at http://java0 码力 | 194 页 | 1.12 MB | 1 年前3
Spring Framework 1.1.3 ReferenceQuartz or Timer Spring Framework Version 1.1.3 185 a specific object. Of course we still need to schedule the jobs themselves. This is done using triggers and a SchedulerFactoryBean. Several triggers are hedulerFactoryBean.html) for more information. 18.3. Using JDK Timer support The other way to schedule jobs is using the JDK Timer objects. More information about Timers themselves can be found at http://java0 码力 | 203 页 | 1.15 MB | 1 年前3
Spring Framework 1.1.2 Referenceconvenience bean that allows to you invoke a method on a specific object. Of course we still need to schedule the jobs themselves. This is done using triggers and a Scheduling jobs using Quartz or Timer Spring hedulerFactoryBean.html) for more information. 18.3. Using JDK Timer support The other way to schedule jobs is using the JDK Timer objects. More information about Timers themselves can be found at http://java0 码力 | 199 页 | 1.14 MB | 1 年前3
Spring Framework 1.1.5 Referenceconvenience bean that allows to you invoke a method on a specific object. Of course, we still need to schedule the jobs themselves. This is done using triggers and a SchedulerFactoryBean. Several triggers are hedulerFactoryBean.html) for more information. 19.3. Using JDK Timer support The other way to schedule jobs in Spring is using JDK Timer objects. More information about Timers themselves can be found0 码力 | 223 页 | 1.22 MB | 1 年前3
Spring Framework 1.2.1 Referenceconvenience bean that allows to you invoke a method on a specific object. Of course, we still need to schedule the jobs themselves. This is done using triggers and a SchedulerFactoryBean. Several triggers are hedulerFactoryBean.html) for more information. 19.3. Using JDK Timer support The other way to schedule jobs in Spring is using JDK Timer objects. More information about Timers themselves can be found0 码力 | 244 页 | 1.30 MB | 1 年前3
共 103 条
- 1
- 2
- 3
- 4
- 5
- 6
- 11













