Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://www.aoindustries.com/contact
| Package | Description |
|---|---|
| com.aoindustries.cache |
| Modifier and Type | Method and Description |
|---|---|
BackgroundCache.Result<V,E> |
BackgroundCache.get(K key,
BackgroundCache.Refresher<? super K,? extends V,? extends E> refresher)
Gets the value if currently in the cache.
|
BackgroundCache.Result<V,E> |
BackgroundCache.put(K key,
BackgroundCache.Refresher<? super K,? extends V,? extends E> refresher)
Runs the refresher immediately to obtain the result, then
places an entry into the cache, replacing any existing entry under this key.
|
void |
BackgroundCache.put(K key,
BackgroundCache.Refresher<? super K,? extends V,? extends E> refresher,
E exception)
Places a result into the cache, replacing any existing entry under this key.
|
void |
BackgroundCache.put(K key,
BackgroundCache.Refresher<? super K,? extends V,? extends E> refresher,
V value)
Places a result into the cache, replacing any existing entry under this key.
|
Copyright © 2000–2016 AO Industries, Inc.. All rights reserved.