接口 ProxyCache<K,V>

所有超级接口:
AutoCloseable, Cache<K,V>, Closeable
所有已知实现类:
LoadingCache, RefreshCache, SimpleProxyCache

public interface ProxyCache<K,V> extends Cache<K,V>
Created on 2016/12/13.
作者:
huangli
  • 方法详细资料

    • getTargetCache

      Cache<K,V> getTargetCache()
    • unwrap

      default <T> T unwrap(Class<T> clazz)
      从接口复制的说明: Cache
      Provides a standard way to access the underlying concrete cache entry implementation in order to provide access to further, proprietary features.

      If the implementation does not support the specified class, the IllegalArgumentException is thrown.

      指定者:
      unwrap 在接口中 Cache<K,V>
      参数:
      clazz - the proprietary class or interface of the underlying concrete cache. It is this type that is returned.
      返回:
      an instance of the underlying concrete cache