Package net.minecraft.server.packs
Class DownloadCacheCleaner
java.lang.Object
net.minecraft.server.packs.DownloadCacheCleaner
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static final record
(package private) static final record
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static List<DownloadCacheCleaner.PathAndTime>
listFilesWithModificationTimes
(Path p_311706_) private static List<DownloadCacheCleaner.PathAndPriority>
static void
vacuumCacheDir
(Path p_311487_, int p_312653_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
DownloadCacheCleaner
public DownloadCacheCleaner()
-
-
Method Details
-
vacuumCacheDir
-
listFilesWithModificationTimes
private static List<DownloadCacheCleaner.PathAndTime> listFilesWithModificationTimes(Path p_311706_) throws IOException - Throws:
IOException
-
prioritizeFilesInDirs
private static List<DownloadCacheCleaner.PathAndPriority> prioritizeFilesInDirs(List<DownloadCacheCleaner.PathAndTime> p_312641_)
-