程序包的使用
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 baseConfigurationclass 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 theAsyncannotation at class or method-level by adding a correspondingAsyncAnnotationAdvisorto 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 @Configurationclasses annotated with @EnableAsyncthat wish to customize theExecutorinstance used when processing async method invocations or theAsyncUncaughtExceptionHandlerinstance used to process exception thrown from async method withvoidreturn type.Scheduled Annotation that marks a method to be scheduled.ScheduledAnnotationBeanPostProcessor Bean post-processor that registers methods annotated with @Scheduledto be invoked by aTaskScheduleraccording to the "fixedRate", "fixedDelay", or "cron" expression provided via the annotation.org.springframework.scheduling.aspectj使用的org.springframework.scheduling.annotation中的类 类 说明 AbstractAsyncConfiguration Abstract baseConfigurationclass providing common structure for enabling Spring's asynchronous method execution capability.