类 MockRemoteCache<K,V>

所有已实现的接口:
Cache<K,V>, Closeable, AutoCloseable

public class MockRemoteCache<K,V> extends AbstractExternalCache<K,V>
作者:
huangli
  • 构造器详细资料

  • 方法详细资料

    • config

      public CacheConfig<K,V> config()
      从接口复制的说明: Cache
      Get the config of this cache.
      返回:
      the cache config
    • unwrap

      public <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.

      参数:
      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
    • getHolder

      public CacheValueHolder getHolder(K key)