Interface CacheStorage
-
- All Known Implementing Classes:
RedisCacheStorage
public interface CacheStorage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.vertx.core.Future<Optional<io.vertx.core.buffer.Buffer>>cachedRequest(String cacheIdentifier)io.vertx.core.Future<Set<String>>cacheEntries()io.vertx.core.Future<Long>cacheEntriesCount()io.vertx.core.Future<Void>cacheRequest(String cacheIdentifier, io.vertx.core.buffer.Buffer cachedObject, Duration cacheExpiry)io.vertx.core.Future<Long>clearCache()
-
-
-
Method Detail
-
cacheRequest
io.vertx.core.Future<Void> cacheRequest(String cacheIdentifier, io.vertx.core.buffer.Buffer cachedObject, Duration cacheExpiry)
-
cachedRequest
io.vertx.core.Future<Optional<io.vertx.core.buffer.Buffer>> cachedRequest(String cacheIdentifier)
-
clearCache
io.vertx.core.Future<Long> clearCache()
-
cacheEntriesCount
io.vertx.core.Future<Long> cacheEntriesCount()
-
-