fiftyone.device.example.illustration
Class CachingConfiguration.UaCacheAdaptor<K,V>
java.lang.Object
fiftyone.device.example.illustration.CachingConfiguration.GuavaCacheAdaptor<K,V>
fiftyone.device.example.illustration.CachingConfiguration.UaCacheAdaptor<K,V>
- All Implemented Interfaces:
- ICache<K,V>, ILoadingCache<K,V>
- Enclosing class:
- CachingConfiguration
public static class CachingConfiguration.UaCacheAdaptor<K,V>
- extends CachingConfiguration.GuavaCacheAdaptor<K,V>
- implements ILoadingCache<K,V>
| Nested classes/interfaces inherited from interface fiftyone.mobile.detection.cache.ICache |
ICache.Base<K,V> |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachingConfiguration.UaCacheAdaptor
public CachingConfiguration.UaCacheAdaptor(com.google.common.cache.Cache<K,V> cache)
get
public V get(K key,
IValueLoader<K,V> loader)
throws IOException
- Specified by:
get in interface ILoadingCache<K,V>
- Throws:
IOException
get
public V get(K key)
- Specified by:
get in interface ICache<K,V>- Overrides:
get in class CachingConfiguration.GuavaCacheAdaptor<K,V>
Copyright © 2017 51Degrees. All rights reserved.