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_314985_) private static List
<DownloadCacheCleaner.PathAndPriority> static void
vacuumCacheDir
(Path p_314919_, int p_314928_)
-
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_314985_) throws IOException - Throws:
IOException
-
prioritizeFilesInDirs
private static List<DownloadCacheCleaner.PathAndPriority> prioritizeFilesInDirs(List<DownloadCacheCleaner.PathAndTime> p_314924_)
-