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, refreshasMap, cleanUp, get, getAllPresent, getIfPresent, invalidate, invalidateAll, invalidateAll, put, putAll, size, statstoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasMapcleanUp, get, getAllPresent, getIfPresent, invalidate, invalidateAll, invalidateAll, put, putAll, size, statsprotected SimpleForwardingLoadingCache(LoadingCache<K,V> delegate)
protected final LoadingCache<K,V> delegate()
ForwardingObjectForwardingSet.delegate(). Concrete subclasses override this method to supply the
instance being decorated.delegate in class ForwardingLoadingCache<K,V>Copyright © 2010–2019. All rights reserved.