<bean id="taskExecutor" class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor"> <property name="corePoolSize" value="5" /> <property name="maxPoolSize" value="10" /> <property name="queueCapacity" value="25" /> </bean>
Spring 线程池 简单配置
Bean 配置如下:
猜你喜欢
转载自xue88ming.iteye.com/blog/2360763
今日推荐
周排行