fiftyone.device.example.illustration
Class CachingConfiguration.PutCacheAdaptor<K,V>

java.lang.Object
  extended by fiftyone.device.example.illustration.CachingConfiguration.GuavaCacheAdaptor<K,V>
      extended by fiftyone.device.example.illustration.CachingConfiguration.PutCacheAdaptor<K,V>
All Implemented Interfaces:
ICache<K,V>, IPutCache<K,V>
Enclosing class:
CachingConfiguration

public static class CachingConfiguration.PutCacheAdaptor<K,V>
extends CachingConfiguration.GuavaCacheAdaptor<K,V>
implements IPutCache<K,V>


Nested Class Summary
 
Nested classes/interfaces inherited from interface fiftyone.mobile.detection.cache.ICache
ICache.Base<K,V>
 
Field Summary
 
Fields inherited from class fiftyone.device.example.illustration.CachingConfiguration.GuavaCacheAdaptor
cache
 
Constructor Summary
CachingConfiguration.PutCacheAdaptor(com.google.common.cache.Cache<K,V> cache)
           
 
Method Summary
 void put(K key, V value)
           
 
Methods inherited from class fiftyone.device.example.illustration.CachingConfiguration.GuavaCacheAdaptor
get, getCacheMisses, getCacheRequests, getCacheSize, getPercentageMisses, resetCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fiftyone.mobile.detection.cache.ICache
get, getCacheMisses, getCacheRequests, getCacheSize, getPercentageMisses, resetCache
 

Constructor Detail

CachingConfiguration.PutCacheAdaptor

public CachingConfiguration.PutCacheAdaptor(com.google.common.cache.Cache<K,V> cache)
Method Detail

put

public void put(K key,
                V value)
Specified by:
put in interface IPutCache<K,V>


Copyright © 2017 51Degrees. All rights reserved.