类 LinkedHashMapCache<K,V>

java.lang.Object
com.alicp.jetcache.AbstractCache<K,V>
com.alicp.jetcache.embedded.AbstractEmbeddedCache<K,V>
com.alicp.jetcache.embedded.LinkedHashMapCache<K,V>
所有已实现的接口:
Cache<K,V>, Closeable, AutoCloseable

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

  • 方法详细资料

    • 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
    • cleanExpiredEntry

      public void cleanExpiredEntry()