首页 > 解决方案 > fixedDelay() 和 fixedRate() 的区别

问题描述

Pollers.fixedDelay(5000)spring integration和Pollers.fixedRate(5000) in spring integration和有什么区别Pollers

标签: spring-integrationspring-integration-dslpoller

解决方案


固定利率和固定延迟之间存在显着差异。使用固定利率,无论上一次执行花费了多长时间,下一次执行都会在计划好的时候发生。使用固定延迟,下一次执行总是在上一次完成后 x 次发生,即使它被延迟了。

更多信息在这里


推荐阅读