Package | Description |
---|---|
sirius.kernel.cache |
Provides a framework for building and using caches.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> Cache<K,V> |
CacheManager.createCache(String name)
Creates a cached with the given name.
|
static <K,V> Cache<K,V> |
CacheManager.createCache(String name,
ValueComputer<K,V> valueComputer,
ValueVerifier<V> verifier)
Creates a cache with the given name.
|
Cache<K,V> |
Cache.onRemove(Callback<Tuple<K,V>> onRemoveCallback)
Sets the remove callback which is invoked once a value is removed from the cache.
|
Copyright © 2018. All rights reserved.