public class TotalSizeLruDiskUsage extends LruDiskUsage
DiskUsage that uses LRU (Least Recently Used) strategy and trims cache size to max size if needed.| Constructor and Description |
|---|
TotalSizeLruDiskUsage(long maxSize) |
| 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