public class TotalCountLruDiskUsage extends LruDiskUsage
DiskUsage that uses LRU (Least Recently Used) strategy and trims cache size to max files count if needed.| Constructor and Description |
|---|
TotalCountLruDiskUsage(int maxCount) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept(java.io.File file,
long totalSize,
int totalCount) |
touchprotected boolean accept(java.io.File file,
long totalSize,
int totalCount)
accept in class LruDiskUsage