public interface ReloadableResourceManager extends ResourceManager, AutoCloseable
ResourceManager.Empty
Modifier and Type | Method and Description |
---|---|
ResourceReloadMonitor |
beginMonitoredReload(Executor prepareExecutor,
Executor applyExecutor,
CompletableFuture<Unit> initialStage,
List<ResourcePack> packs) |
default CompletableFuture<Unit> |
beginReload(Executor prepareExecutor,
Executor applyExecutor,
List<ResourcePack> packs,
CompletableFuture<Unit> initialStage) |
void |
close() |
void |
registerListener(ResourceReloadListener listener) |
containsResource, findResources, getAllNamespaces, getAllResources, getResource, streamResourcePacks
default CompletableFuture<Unit> beginReload(Executor prepareExecutor, Executor applyExecutor, List<ResourcePack> packs, CompletableFuture<Unit> initialStage)
ResourceReloadMonitor beginMonitoredReload(Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage, List<ResourcePack> packs)
void registerListener(ResourceReloadListener listener)
void close()
close
in interface AutoCloseable