net.minecraft.server.packs

public class DownloadQueue

implements AutoCloseable

asl
net.minecraft.server.packs.DownloadQueue
net.minecraft.class_9028
net.minecraft.util.Downloader
net.minecraft.src.C_302050_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_47572
LOGGER
f_303188_
private static final int
b
MAX_KEPT_PACKS
field_47679
MAX_RETAINED_CACHE_FILES
f_303802_
private final Path
c
cacheDir
field_47573
directory
f_303578_
private final JsonEventLog<DownloadQueue$LogEntry>
d
eventLog
field_47574
logWriter
f_303172_
private final ProcessorMailbox<Runnable>
e
tasks
field_47575
executor
f_302641_

Constructor summary

ModifierConstructor
public (Path directory)

Method summary

Modifier and TypeMethod
private DownloadQueue$BatchResult
b(asl$a arg0, Map<UUID, asl$c> arg1)
runDownload(DownloadQueue$BatchConfig arg0, Map<UUID, DownloadQueue$DownloadRequest> arg1)
method_55488(class_9028$class_9029 arg0, Map<UUID, class_9028$class_9031> arg1)
download(Downloader$Config config, Map<UUID, Downloader$DownloadEntry> entries)
m_306535_(C_302050_$C_302043_ p_311709_, Map<UUID, C_302050_$C_302162_> arg1)
private com.mojang.datafixers.util.Either<String, DownloadQueue$FileInfoEntry>
a(Path arg0)
getFileInfo(Path arg0)
method_55487(Path arg0)
getFileInfo(Path path)
m_306845_(Path arg0)
public CompletableFuture<DownloadQueue$BatchResult>
a(asl$a arg0, Map<UUID, asl$c> arg1)
downloadBatch(DownloadQueue$BatchConfig arg0, Map<UUID, DownloadQueue$DownloadRequest> arg1)
method_55486(class_9028$class_9029 arg0, Map<UUID, class_9028$class_9031> arg1)
downloadAsync(Downloader$Config config, Map<UUID, Downloader$DownloadEntry> entries)
m_304862_(C_302050_$C_302043_ p_312658_, Map<UUID, C_302050_$C_302162_> arg1)
public void
close()
close()
close()