Spring Framwork Integration v5.3.36 SNAPSHOT
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 7.4.3. The 'scheduled-tasks' Element. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Scheduling The Spring Framework provides abstractions for the asynchronous execution and scheduling of tasks with the TaskExecutor and TaskScheduler interfaces, respectively. Spring also features implementations TaskExecutor abstraction, Spring 3.0 introduced a TaskScheduler with a variety of methods for scheduling tasks to run at some point in the future. The following listing shows the TaskScheduler interface definition:0 码力 | 141 页 | 2.13 MB | 1 年前3Spring Boot 3.3.0-M1 Reference Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 606 17.3.1. Spring Boot Ant Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . use the org.springframework.boot Gradle plugin. This plugin provides useful defaults and Gradle tasks. The io.spring.dependency-management Gradle plugin provides dependency management so that you can bootJar from the command line, as follows: $ gradle bootJar BUILD SUCCESSFUL in 639ms 3 actionable tasks: 3 executed If you look in the build/libs directory, you should see myproject-0.0.1-SNAPSHOT.jar0 码力 | 976 页 | 17.44 MB | 1 年前3Spring Boot 3.3.0-SNAPSHOT Reference Guide
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 606 17.3.1. Spring Boot Ant Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . use the org.springframework.boot Gradle plugin. This plugin provides useful defaults and Gradle tasks. The io.spring.dependency-management Gradle plugin provides dependency management so that you can bootJar from the command line, as follows: $ gradle bootJar BUILD SUCCESSFUL in 639ms 3 actionable tasks: 3 executed If you look in the build/libs directory, you should see myproject-0.0.1-SNAPSHOT.jar0 码力 | 977 页 | 17.51 MB | 1 年前3Spring Framework 2.5.3 Changelog
changed ThreadPoolTaskExecutor's default behavior to shutdown immediately, not waiting for scheduled tasks * ThreadPoolTaskExecutor extends CustomizableThreadFactory for common bean properties and uses itself listener methods * DefaultMessageListenerContainer catches TaskRejectedException and pauses affected tasks for subsequent resuming * DefaultMessageListenerContainer exposes listener Session as thread-bound ScheduledExecutorFactoryBean's default behavior to shutdown immediately, not waiting for scheduled tasks Package org.springframework.scripting * updated JRuby support for JRuby 1.0 compatibility (still0 码力 | 95 页 | 274.89 KB | 1 年前3Spring Framework 2.5.4 Changelog
changed ThreadPoolTaskExecutor's default behavior to shutdown immediately, not waiting for scheduled tasks * ThreadPoolTaskExecutor extends CustomizableThreadFactory for common bean properties and uses itself listener methods * DefaultMessageListenerContainer catches TaskRejectedException and pauses affected tasks for subsequent resuming * DefaultMessageListenerContainer exposes listener Session as thread-bound ScheduledExecutorFactoryBean's default behavior to shutdown immediately, not waiting for scheduled tasks Package org.springframework.scripting * updated JRuby support for JRuby 1.0 compatibility (still0 码力 | 97 页 | 278.81 KB | 1 年前3Spring Framework 2.5.5 Changelog
changed ThreadPoolTaskExecutor's default behavior to shutdown immediately, not waiting for scheduled tasks * ThreadPoolTaskExecutor extends CustomizableThreadFactory for common bean properties and uses itself listener methods * DefaultMessageListenerContainer catches TaskRejectedException and pauses affected tasks for subsequent resuming * DefaultMessageListenerContainer exposes listener Session as thread-bound ScheduledExecutorFactoryBean's default behavior to shutdown immediately, not waiting for scheduled tasks Package org.springframework.scripting * updated JRuby support for JRuby 1.0 compatibility (still0 码力 | 101 页 | 291.00 KB | 1 年前3Spring Boot 2.5.13 Reference Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394 11.3.1. Spring Boot Ant Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . runners have been called, see Spring Boot application lifecycle and related Application Events. TIP Tasks expected to run during startup should be executed by CommandLineRunner and ApplicationRunner components exist. Internally, Spring Boot uses events to handle a variety of tasks. NOTE Event listeners should not run potentially lengthy tasks as they execute in the same thread by default. Consider using application0 码力 | 702 页 | 13.82 MB | 1 年前3Spring Boot 2.5.x Reference Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394 11.3.1. Spring Boot Ant Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . runners have been called, see Spring Boot application lifecycle and related Application Events. TIP Tasks expected to run during startup should be executed by CommandLineRunner and ApplicationRunner components exist. Internally, Spring Boot uses events to handle a variety of tasks. NOTE Event listeners should not run potentially lengthy tasks as they execute in the same thread by default. Consider using application0 码力 | 703 页 | 13.84 MB | 1 年前3Spring Boot 2.5.12 Reference Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394 11.3.1. Spring Boot Ant Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . runners have been called, see Spring Boot application lifecycle and related Application Events. TIP Tasks expected to run during startup should be executed by CommandLineRunner and ApplicationRunner components exist. Internally, Spring Boot uses events to handle a variety of tasks. NOTE Event listeners should not run potentially lengthy tasks as they execute in the same thread by default. Consider using application0 码力 | 702 页 | 13.82 MB | 1 年前3Spring Boot 2.5.16-SNAPSHOT Reference Guide
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395 11.3.1. Spring Boot Ant Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . runners have been called, see Spring Boot application lifecycle and related Application Events. TIP Tasks expected to run during startup should be executed by CommandLineRunner and ApplicationRunner components exist. Internally, Spring Boot uses events to handle a variety of tasks. NOTE Event listeners should not run potentially lengthy tasks as they execute in the same thread by default. Consider using application0 码力 | 704 页 | 13.85 MB | 1 年前3
共 335 条
- 1
- 2
- 3
- 4
- 5
- 6
- 34