类 LoadingCache<K,KK,V>

java.lang.Object
cn.taketoday.bytecode.core.LoadingCache<K,KK,V>

final class LoadingCache<K,KK,V> extends Object
从以下版本开始:
2019-09-01 22:04
作者:
Harry Yang
  • 字段详细资料

  • 构造器详细资料

  • 方法详细资料

    • get

      public V get(K key)
    • createEntry

      private V createEntry(K key, KK cacheKey, Object v)
      Loads entry to the cache. If entry is missing, put FutureTask first so other competing thread might wait for the result.
      参数:
      key - original key that would be used to load the instance
      cacheKey - key that would be used to store the entry in internal map
      v - null or FutureTask<V>
      返回:
      newly created instance