源代码备份

This commit is contained in:
TC999
2024-08-20 16:54:35 +08:00
parent c4db18da39
commit e2a5f92e23
791 changed files with 90314 additions and 2 deletions

View File

@ -0,0 +1,37 @@
package com.arialyy.frame.cache;
/**
* Created by Lyy on 2015/4/9.
* 缓存参数
*/
public interface CacheParam {
/**
* 磁盘缓存
*/
public static final int DISK_CACHE = 0;
/**
* 默认缓存目录文件夹名
*/
public static final String DEFAULT_DIR = "defaultDir";
/**
* 内存缓存
*/
public static final int MEMORY_CACHE_SIZE = 1;
/**
* 小容量磁盘缓存
*/
public static final long SMALL_DISK_CACHE_CAPACITY = 4 * 1024 * 1024;
/**
* 中型容量磁盘缓存
*/
public static final long NORMAL_DISK_CACHE_CAPACITY = 10 * 1024 * 1024;
/**
* 大容量磁盘缓存
*/
public static final long LARGER_DISKCACHE_CAPACITY = 20 * 1024 * 1024;
/**
* 缓存index
*/
public static final int DISK_CACHE_INDEX = 0;
}