Package com.tangosol.util
Interface Proxyable<T>
-
public interface Proxyable<T>An interface that should be implemented by the classes that are able to create a client-side proxy for itself.- Since:
- 12.2.1
- Author:
- as 2014.11.19
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <K> TgetProxy(String sCacheName, K key)Return a proxy for a cached value.
-
-
-
Method Detail
-
getProxy
<K> T getProxy(String sCacheName, K key)
Return a proxy for a cached value.The proxy returned will typically use
MethodInvocationProcessorto invoke methods on a remote object, but ultimately it is up to the proxy implementor to decide how each individual method will be proxied.- Type Parameters:
K- the type of the cache key- Parameters:
sCacheName- the name of the cache the proxied object is inkey- the key associated with the proxied object- Returns:
- a proxy for the value with a given key in the specified cache
-
-