public class SchedulerResourceManager extends Object implements org.swisspush.gateleen.core.refresh.Refreshable, org.swisspush.gateleen.core.logging.LoggableResource
| Constructor and Description |
|---|
SchedulerResourceManager(io.vertx.core.Vertx vertx,
io.vertx.redis.RedisClient redisClient,
org.swisspush.gateleen.core.storage.ResourceStorage storage,
org.swisspush.gateleen.monitoring.MonitoringHandler monitoringHandler,
String schedulersUri) |
SchedulerResourceManager(io.vertx.core.Vertx vertx,
io.vertx.redis.RedisClient redisClient,
org.swisspush.gateleen.core.storage.ResourceStorage storage,
org.swisspush.gateleen.monitoring.MonitoringHandler monitoringHandler,
String schedulersUri,
Map<String,Object> props) |
SchedulerResourceManager(io.vertx.core.Vertx vertx,
io.vertx.redis.RedisClient redisClient,
org.swisspush.gateleen.core.storage.ResourceStorage storage,
org.swisspush.gateleen.monitoring.MonitoringHandler monitoringHandler,
String schedulersUri,
Map<String,Object> props,
String redisquesAddress) |
| Modifier and Type | Method and Description |
|---|---|
void |
enableResourceLogging(boolean resourceLoggingEnabled) |
protected List<Scheduler> |
getSchedulers()
Returns a list of all registred
schedulers.
|
boolean |
handleSchedulerResource(io.vertx.core.http.HttpServerRequest request) |
void |
refresh() |
public SchedulerResourceManager(io.vertx.core.Vertx vertx,
io.vertx.redis.RedisClient redisClient,
org.swisspush.gateleen.core.storage.ResourceStorage storage,
org.swisspush.gateleen.monitoring.MonitoringHandler monitoringHandler,
String schedulersUri)
public SchedulerResourceManager(io.vertx.core.Vertx vertx,
io.vertx.redis.RedisClient redisClient,
org.swisspush.gateleen.core.storage.ResourceStorage storage,
org.swisspush.gateleen.monitoring.MonitoringHandler monitoringHandler,
String schedulersUri,
Map<String,Object> props)
public SchedulerResourceManager(io.vertx.core.Vertx vertx,
io.vertx.redis.RedisClient redisClient,
org.swisspush.gateleen.core.storage.ResourceStorage storage,
org.swisspush.gateleen.monitoring.MonitoringHandler monitoringHandler,
String schedulersUri,
Map<String,Object> props,
String redisquesAddress)
public boolean handleSchedulerResource(io.vertx.core.http.HttpServerRequest request)
protected List<Scheduler> getSchedulers()
public void refresh()
refresh in interface org.swisspush.gateleen.core.refresh.Refreshablepublic void enableResourceLogging(boolean resourceLoggingEnabled)
enableResourceLogging in interface org.swisspush.gateleen.core.logging.LoggableResourceCopyright © 2016–2019. All rights reserved.