Class PollerFactory
java.lang.Object
org.springframework.integration.dsl.PollerFactory
public final class PollerFactory extends Object
An
Adapter
class for the Pollers
factory.
Typically used with a Java 8 Lambda expression:
c -> c.poller(p -> p.fixedRate(100))
- Since:
- 5.0
- Author:
- Artem Bilan
-
Method Summary
Modifier and Type Method Description PollerSpec
cron(String cronExpression)
PollerSpec
cron(String cronExpression, TimeZone timeZone)
PollerSpec
fixedDelay(long period)
PollerSpec
fixedDelay(long period, long initialDelay)
PollerSpec
fixedDelay(long period, TimeUnit timeUnit)
PollerSpec
fixedDelay(long period, TimeUnit timeUnit, long initialDelay)
PollerSpec
fixedRate(long period)
PollerSpec
fixedRate(long period, long initialDelay)
PollerSpec
fixedRate(long period, TimeUnit timeUnit)
PollerSpec
fixedRate(long period, TimeUnit timeUnit, long initialDelay)
PollerSpec
trigger(Trigger trigger)