Uses of Class
io.keikai.doc.collab.lib0.Cache
-
Packages that use Cache Package Description io.keikai.doc.collab.lib0 -
-
Uses of Cache in io.keikai.doc.collab.lib0
Methods in io.keikai.doc.collab.lib0 that return Cache Modifier and Type Method Description static <K,V>
Cache<K,V>Cache. create(long timeout)Methods in io.keikai.doc.collab.lib0 with parameters of type Cache Modifier and Type Method Description static java.lang.ObjectCache. get(Cache cache, java.lang.Object key)static java.lang.ObjectCache. getAsync(Cache cache, java.lang.Object key)Works well in conjunktion with setIfUndefined which has an async init function.static voidCache. refreshTimeout(Cache cache, java.lang.Object key)static java.lang.ObjectCache. remove(Cache cache, java.lang.Object key)static voidCache. set(Cache cache, java.lang.Object key, java.lang.Object value)static java.util.concurrent.CompletableFuture<?>Cache. setIfUndefined(Cache cache, java.lang.Object key, java.util.function.Supplier<java.util.concurrent.CompletableFuture<?>> init)static java.util.concurrent.CompletableFuture<?>Cache. setIfUndefined(Cache cache, java.lang.Object key, java.util.function.Supplier<java.util.concurrent.CompletableFuture<?>> init, boolean removeNull)
-