Class FileCacheStorager<T extends Cacheable>

  • All Implemented Interfaces:
    CacheStorager<T>

    public class FileCacheStorager<T extends Cacheable>
    extends Object
    implements CacheStorager<T>
    用File保存缓存对象
    Since:
    JDK 1.6
    Author:
    jinyu(foxinmy@gmail.com)
    • Constructor Detail

      • FileCacheStorager

        public FileCacheStorager()
        默认缓存路径:java.io.tmpdir
      • FileCacheStorager

        public FileCacheStorager​(String path)
        Parameters:
        path - 缓存文件报错