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.
    as 2014.11.19
    • Method Detail

      • getProxy

        <K> T getProxy​(String sCacheName,
                       K key)
        Return a proxy for a cached value.

        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.

        Type Parameters:
        K - the type of the cache key
        sCacheName - the name of the cache the proxied object is in
        key - the key associated with the proxied object
        a proxy for the value with a given key in the specified cache