public abstract static class ForwardingCache.SimpleForwardingCache<K,V> extends ForwardingCache<K,V>
ForwardingCache
where subclasses can pass in an already
constructed Cache
as the delegate.ForwardingCache.SimpleForwardingCache<K,V>
Modifier | Constructor and Description |
---|---|
protected |
ForwardingCache.SimpleForwardingCache(Cache<K,V> delegate) |
Modifier and Type | Method and Description |
---|---|
protected Cache<K,V> |
delegate()
Returns the backing delegate instance that methods are forwarded to.
|
asMap, cleanUp, get, getAllPresent, getIfPresent, invalidate, invalidateAll, invalidateAll, put, putAll, size, stats
toString
protected ForwardingCache.SimpleForwardingCache(Cache<K,V> delegate)
protected final Cache<K,V> delegate()
ForwardingObject
ForwardingSet.delegate()
. Concrete subclasses override this method to supply
the instance being decorated.delegate
in class ForwardingCache<K,V>
Copyright © 2010-2015. All Rights Reserved.