public final class Pollers
extends java.lang.Object
PollerSpec
s for
PollerMetadata
configuration
variants.Modifier and Type | Method and Description |
---|---|
static PollerSpec |
cron(java.lang.String cronExpression) |
static PollerSpec |
cron(java.lang.String cronExpression,
java.util.TimeZone timeZone) |
static PollerSpec |
fixedDelay(long period) |
static PollerSpec |
fixedDelay(long period,
long initialDelay) |
static PollerSpec |
fixedDelay(long period,
java.util.concurrent.TimeUnit timeUnit) |
static PollerSpec |
fixedDelay(long period,
java.util.concurrent.TimeUnit timeUnit,
long initialDelay) |
static PollerSpec |
fixedRate(long period) |
static PollerSpec |
fixedRate(long period,
long initialDelay) |
static PollerSpec |
fixedRate(long period,
java.util.concurrent.TimeUnit timeUnit) |
static PollerSpec |
fixedRate(long period,
java.util.concurrent.TimeUnit timeUnit,
long initialDelay) |
static PollerSpec |
trigger(org.springframework.scheduling.Trigger trigger) |
public static PollerSpec trigger(org.springframework.scheduling.Trigger trigger)
public static PollerSpec fixedRate(long period)
public static PollerSpec fixedRate(long period, java.util.concurrent.TimeUnit timeUnit)
public static PollerSpec fixedRate(long period, long initialDelay)
public static PollerSpec fixedRate(long period, java.util.concurrent.TimeUnit timeUnit, long initialDelay)
public static PollerSpec fixedDelay(long period)
public static PollerSpec fixedDelay(long period, java.util.concurrent.TimeUnit timeUnit)
public static PollerSpec fixedDelay(long period, long initialDelay)
public static PollerSpec fixedDelay(long period, java.util.concurrent.TimeUnit timeUnit, long initialDelay)
public static PollerSpec cron(java.lang.String cronExpression)
public static PollerSpec cron(java.lang.String cronExpression, java.util.TimeZone timeZone)