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