@Beta public abstract static class ForwardingLoadingCache.SimpleForwardingLoadingCache<K,V> extends ForwardingLoadingCache<K ,V>
ForwardingLoadingCache where subclasses can pass in an already constructed
LoadingCache as the delegete.
ForwardingLoadingCache.SimpleForwardingLoadingCache <K,V> ForwardingCache.SimpleForwardingCache <K,V> | Modifier | Constructor and Description |
|---|---|
protected |
SimpleForwardingLoadingCache(LoadingCache
|
| Modifier and Type | Method and Description |
|---|---|
protected LoadingCache |
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()
ForwardingObject
ForwardingSet.delegate() . Concrete subclasses override this method to supply the instance being decorated.