public class Scheduler extends Object
| Constructor and Description |
|---|
Scheduler(io.vertx.core.Vertx vertx,
String redisquesAddress,
io.vertx.redis.RedisClient redisClient,
String name,
String cronExpression,
List<org.swisspush.gateleen.core.http.HttpRequest> requests,
org.swisspush.gateleen.monitoring.MonitoringHandler monitoringHandler,
int maxRandomOffset,
boolean executeOnStartup,
boolean executeOnReload) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getName()
Returns the name of the scheduler.
|
protected long |
getRandomOffset()
Returns the calculated random offset
for this scheduler.
|
void |
start() |
void |
stop() |
public Scheduler(io.vertx.core.Vertx vertx,
String redisquesAddress,
io.vertx.redis.RedisClient redisClient,
String name,
String cronExpression,
List<org.swisspush.gateleen.core.http.HttpRequest> requests,
org.swisspush.gateleen.monitoring.MonitoringHandler monitoringHandler,
int maxRandomOffset,
boolean executeOnStartup,
boolean executeOnReload)
throws ParseException
ParseExceptionpublic void start()
public void stop()
protected String getName()
protected long getRandomOffset()
Copyright © 2016–2020. All rights reserved.