程序包的使用
org.springframework.scheduling.annotation
使用org.springframework.scheduling.annotation的程序包 程序包 说明 org.springframework.scheduling.annotation Java 5 annotation for asynchronous method execution.org.springframework.scheduling.aspectj org.springframework.scheduling.annotation使用的org.springframework.scheduling.annotation中的类 类 说明 AbstractAsyncConfiguration Abstract baseConfiguration
class providing common structure for enabling Spring's asynchronous method execution capability.AsyncAnnotationBeanPostProcessor Bean post-processor that automatically applies asynchronous invocation behavior to any bean that carries theAsync
annotation at class or method-level by adding a correspondingAsyncAnnotationAdvisor
to the exposed proxy (either an existing AOP proxy or a newly generated proxy that implements all of the target's interfaces).AsyncConfigurer Interface to be implemented by @Configuration
classes annotated with @EnableAsync
that wish to customize theExecutor
instance used when processing async method invocations or theAsyncUncaughtExceptionHandler
instance used to process exception thrown from async method withvoid
return type.Scheduled Annotation that marks a method to be scheduled.ScheduledAnnotationBeanPostProcessor Bean post-processor that registers methods annotated with @Scheduled
to be invoked by aTaskScheduler
according to the "fixedRate", "fixedDelay", or "cron" expression provided via the annotation.org.springframework.scheduling.aspectj使用的org.springframework.scheduling.annotation中的类 类 说明 AbstractAsyncConfiguration Abstract baseConfiguration
class providing common structure for enabling Spring's asynchronous method execution capability.