public abstract static class ForwardingLoadingCache.SimpleForwardingLoadingCache<K,V> extends ForwardingLoadingCache<K,V>
ForwardingLoadingCache
where subclasses can pass in an already
constructed LoadingCache
as the delegate.ForwardingLoadingCache.SimpleForwardingLoadingCache<K,V>
ForwardingCache.SimpleForwardingCache<K,V>
Modifier | Constructor and Description |
---|---|
protected |
SimpleForwardingLoadingCache(LoadingCache<K,V> delegate) |
Modifier and Type | Method and Description |
---|---|
protected LoadingCache<K,V> |
delegate()
Returns the backing delegate instance that methods are forwarded to.
|
apply, get, getAll, getUnchecked, refresh
asMap, cleanUp, get, getAllPresent, getIfPresent, invalidate, invalidateAll, invalidateAll, put, putAll, size, stats
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asMap
cleanUp, get, getAllPresent, getIfPresent, invalidate, invalidateAll, invalidateAll, put, putAll, size, stats
protected SimpleForwardingLoadingCache(LoadingCache<K,V> delegate)
protected final LoadingCache<K,V> delegate()
ForwardingObject
ForwardingSet.delegate()
. Concrete subclasses override this method to supply the
instance being decorated.delegate
in class ForwardingLoadingCache<K,V>
Copyright © 2010–2017. All rights reserved.