Class ForwardingLoadingCache.SimpleForwardingLoadingCache<K,V> 
java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.cache.ForwardingCache<K,V>
 
com.google.common.cache.ForwardingLoadingCache<K,V>
 
com.google.common.cache.ForwardingLoadingCache.SimpleForwardingLoadingCache<K,V> 
- All Implemented Interfaces:
- Function<K,,- V> - Cache<K,,- V> - LoadingCache<K,- V> 
- Enclosing class:
- ForwardingLoadingCache<K,- V> 
public abstract static class ForwardingLoadingCache.SimpleForwardingLoadingCache<K,V> 
extends ForwardingLoadingCache<K,V> 
A simplified version of 
ForwardingLoadingCache where subclasses can pass in an already
 constructed LoadingCache as the delegate.- Since:
- 10.0
- Author:
- Charles Fry
- 
Nested Class SummaryNested classes/interfaces inherited from class com.google.common.cache.ForwardingLoadingCacheForwardingLoadingCache.SimpleForwardingLoadingCache<K,V> Nested classes/interfaces inherited from class com.google.common.cache.ForwardingCacheForwardingCache.SimpleForwardingCache<K,V> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected final LoadingCache<K, V> delegate()Returns the backing delegate instance that methods are forwarded to.Methods inherited from class com.google.common.cache.ForwardingLoadingCacheapply, get, getAll, getUnchecked, refreshMethods inherited from class com.google.common.cache.ForwardingCacheasMap, cleanUp, get, getAllPresent, getIfPresent, invalidate, invalidateAll, invalidateAll, put, putAll, size, statsMethods inherited from class com.google.common.collect.ForwardingObjecttoStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.common.cache.CachecleanUp, get, getAllPresent, getIfPresent, invalidate, invalidateAll, invalidateAll, put, putAll, size, statsMethods inherited from interface com.google.common.cache.LoadingCacheasMap
- 
Constructor Details- 
SimpleForwardingLoadingCache
 
- 
- 
Method Details- 
delegateDescription copied from class:ForwardingObjectReturns the backing delegate instance that methods are forwarded to. Abstract subclasses generally override this method with an abstract method that has a more specific return type, such asForwardingSet.delegate(). Concrete subclasses override this method to supply the instance being decorated.- Specified by:
- delegatein class- ForwardingLoadingCache<K,- V> 
 
 
-