public class RedisReducedPropagationStorage extends Object implements ReducedPropagationStorage
ReducedPropagationStorage interface.| Constructor and Description |
|---|
RedisReducedPropagationStorage(io.vertx.redis.RedisClient redisClient) |
| Modifier and Type | Method and Description |
|---|---|
io.vertx.core.Future<Boolean> |
addQueue(String queue,
long expireTS) |
io.vertx.core.Future<io.vertx.core.json.JsonObject> |
getQueueRequest(String queue) |
io.vertx.core.Future<List<String>> |
removeExpiredQueues(long currentTS) |
io.vertx.core.Future<Void> |
removeQueueRequest(String queue) |
io.vertx.core.Future<Void> |
storeQueueRequest(String queue,
io.vertx.core.json.JsonObject queueRequest) |
public RedisReducedPropagationStorage(io.vertx.redis.RedisClient redisClient)
public io.vertx.core.Future<List<String>> removeExpiredQueues(long currentTS)
removeExpiredQueues in interface ReducedPropagationStoragepublic io.vertx.core.Future<Boolean> addQueue(String queue, long expireTS)
addQueue in interface ReducedPropagationStoragepublic io.vertx.core.Future<Void> storeQueueRequest(String queue, io.vertx.core.json.JsonObject queueRequest)
storeQueueRequest in interface ReducedPropagationStoragepublic io.vertx.core.Future<io.vertx.core.json.JsonObject> getQueueRequest(String queue)
getQueueRequest in interface ReducedPropagationStoragepublic io.vertx.core.Future<Void> removeQueueRequest(String queue)
removeQueueRequest in interface ReducedPropagationStorageCopyright © 2016–2018. All rights reserved.