- All Implemented Interfaces:
Cache
public class DefaultCache
extends Object
implements Cache
-
Method Summary
static io.vertx.core.Future<Cache>
build(io.vertx.core.Vertx vertx)
<T> io.vertx.core.Future<T>
<T> io.vertx.core.Future<Void>
<T> io.vertx.core.Future<Void>
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
build
public static io.vertx.core.Future<Cache> build(io.vertx.core.Vertx vertx)
-
-
-
set
public <T> io.vertx.core.Future<Void> set(String key,
T obj)
- Specified by:
set in interface Cache
-
set
- Specified by:
set in interface Cache
-
get
public <T> io.vertx.core.Future<T> get(String key,
Class<T> clazz)
- Specified by:
get in interface Cache