public interface Proxyable<T>
| Modifier and Type | Method and Description |
|---|---|
<K> T |
getProxy(String sCacheName, K key)
Return a proxy for a cached value.
|
<K> T getProxy(String sCacheName, K key)
The proxy returned will typically use MethodInvocationProcessor to invoke methods on a remote object, but ultimately it is up to the proxy implementor to decide how each individual method will be proxied.
K - the type of the cache keysCacheName - the name of the cache the proxied object is inkey - the key associated with the proxied object