| Modifier and Type | Field and Description |
|---|---|
| public static final Function | |
| protected final Function | |
| protected final Function | |
| protected final ConcurrentMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected V | Returns: newly created instanceoriginal key that would be used to load the instance key, KK key that would be used to store the entry in internal map cacheKey, Object null or v)FutureTask<V>Loads entry to the cache. |
| public V | |
| public static <K> Function |
| IDENTITY | back to summary |
|---|---|
| public static final Function<K, V> IDENTITY | |
| keyMapper | back to summary |
|---|---|
| protected final Function<K, KK> keyMapper | |
| loader | back to summary |
|---|---|
| protected final Function<K, V> loader | |
| map | back to summary |
|---|---|
| protected final ConcurrentMap<KK, Object> map | |
| LoadingCache | back to summary |
|---|---|
| public LoadingCache(Function<K, KK> keyMapper, Function<K, V> loader) | |
| createEntry | back to summary |
|---|---|
| protected V createEntry(final K key, KK cacheKey, Object v) Loads entry to the cache.
If entry is missing, put
| |
| get | back to summary |
|---|---|
| public V get(K key) | |
| identity | back to summary |
|---|---|
public static <K> Function
| |