K
- the key type determining the type of the lookup values in the cacheV
- the value type determining the type of values stored in the cachepublic interface ValueComputer<K,V>
Can be supplied to CacheManager.createCache(String, ValueComputer, ValueVerifier)
when creating a cache
to compute values which are not found in the cache.
Modifier and Type | Method and Description |
---|---|
V |
compute(K key)
Computes the value for the given key
|
Copyright © 2018. All rights reserved.