public class RedisMonitor extends Object
| Constructor and Description |
|---|
RedisMonitor(io.vertx.core.Vertx vertx,
io.vertx.redis.RedisClient redisClient,
String name,
int period) |
| Modifier and Type | Method and Description |
|---|---|
void |
enableElementCount(String metricName,
String key) |
protected String |
getMonitoringAddress()
Get the event bus address of the monitoring.
|
void |
start() |
void |
stop() |
public RedisMonitor(io.vertx.core.Vertx vertx,
io.vertx.redis.RedisClient redisClient,
String name,
int period)
vertx - vertxredisClient - redisClientname - nameperiod - in seconds.public void start()
public void stop()
protected String getMonitoringAddress()
Copyright © 2016–2020. All rights reserved.