@Override
    protected boolean accept(File file, long totalSize, int totalCount) {
        return totalSize <= maxSize;
    }
{@link DiskUsage} that uses LRU (Least Recently Used) strategy and trims cache size to max size if needed.
VideoCache/src/main/java/com/yc/videocache/file/TotalSizeLruDiskUsage.java