public class CacheRegistry
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CacheRegistry.Factory |
Modifier and Type | Method and Description |
---|---|
void |
forEach(java.util.function.Consumer<com.google.common.cache.Cache<?,?>> action) |
static CacheRegistry |
get() |
<K,V> com.google.common.cache.Cache<K,V> |
get(java.lang.Object id) |
void |
invalidateAll() |
void |
register(java.lang.Object id,
com.google.common.cache.Cache<?,?> cache) |
public static CacheRegistry get()
public void register(java.lang.Object id, com.google.common.cache.Cache<?,?> cache)
public <K,V> com.google.common.cache.Cache<K,V> get(java.lang.Object id)
public void invalidateAll()
public void forEach(java.util.function.Consumer<com.google.common.cache.Cache<?,?>> action)
Copyright © 2021. All Rights Reserved.