Class PollerFactory

java.lang.Object
org.springframework.integration.dsl.PollerFactory

public final class PollerFactory
extends java.lang.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
  • Method Summary

    Modifier and Type Method Description
    PollerSpec cron​(java.lang.String cronExpression)  
    PollerSpec cron​(java.lang.String cronExpression, java.util.TimeZone timeZone)  
    PollerSpec fixedDelay​(long period)  
    PollerSpec fixedDelay​(long period, long initialDelay)  
    PollerSpec fixedDelay​(long period, java.util.concurrent.TimeUnit timeUnit)  
    PollerSpec fixedDelay​(long period, java.util.concurrent.TimeUnit timeUnit, long initialDelay)  
    PollerSpec fixedRate​(long period)  
    PollerSpec fixedRate​(long period, long initialDelay)  
    PollerSpec fixedRate​(long period, java.util.concurrent.TimeUnit timeUnit)  
    PollerSpec fixedRate​(long period, java.util.concurrent.TimeUnit timeUnit, long initialDelay)  
    PollerSpec trigger​(org.springframework.scheduling.Trigger trigger)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait