| Constructor and Description |
|---|
DefaultCache() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(String id,
Function<? super String,T> mappingFunction)
Returns the value associated with the given id.
|
void |
invalidateAll()
Invalidates all cache entries.
|
void |
put(String id,
Object value)
Adds or replaces a value in the cache.
|
public void put(String id, Object value)
Cachepublic <T> T get(String id, Function<? super String,T> mappingFunction)
Cachenull is returned.public void invalidateAll()
CacheinvalidateAll in interface CacheCopyright © 2019 Flux Capacitor. All rights reserved.