Class Pollers
java.lang.Object
org.springframework.integration.dsl.Pollers
An utility class to provide
PollerSpec
s for
PollerMetadata
configuration
variants.- Since:
- 5.0
- Author:
- Artem Bilan, Gary Russell
-
Method Summary
Modifier and TypeMethodDescriptionstatic PollerSpec
static PollerSpec
static PollerSpec
fixedDelay
(long period) static PollerSpec
fixedDelay
(long period, long initialDelay) static PollerSpec
fixedDelay
(long period, TimeUnit timeUnit) Deprecated, for removal: This API element is subject to removal in a future version.static PollerSpec
fixedDelay
(long period, TimeUnit timeUnit, long initialDelay) Deprecated, for removal: This API element is subject to removal in a future version.since 6.0 in favor offixedDelay(Duration, Duration)
static PollerSpec
fixedDelay
(Duration period) static PollerSpec
fixedDelay
(Duration period, Duration initialDelay) static PollerSpec
fixedRate
(long period) static PollerSpec
fixedRate
(long period, long initialDelay) static PollerSpec
Deprecated, for removal: This API element is subject to removal in a future version.since 6.0 in favor offixedRate(Duration)
static PollerSpec
Deprecated, for removal: This API element is subject to removal in a future version.since 6.0 in favor offixedRate(Duration, Duration)
static PollerSpec
static PollerSpec
static PollerSpec
-
Method Details
-
trigger
-
fixedRate
-
fixedRate
-
fixedRate
Deprecated, for removal: This API element is subject to removal in a future version.since 6.0 in favor offixedRate(Duration)
-
fixedRate
-
fixedRate
-
fixedRate
@Deprecated(forRemoval=true) public static PollerSpec fixedRate(long period, TimeUnit timeUnit, long initialDelay) Deprecated, for removal: This API element is subject to removal in a future version.since 6.0 in favor offixedRate(Duration, Duration)
-
fixedDelay
-
fixedDelay
-
fixedDelay
-
fixedDelay
Deprecated, for removal: This API element is subject to removal in a future version.since 6.0 in favor offixedDelay(Duration)
-
fixedDelay
-
fixedDelay
@Deprecated(forRemoval=true) public static PollerSpec fixedDelay(long period, TimeUnit timeUnit, long initialDelay) Deprecated, for removal: This API element is subject to removal in a future version.since 6.0 in favor offixedDelay(Duration, Duration)
-
cron
-
cron
-
fixedDelay(Duration)