public class DebugAsyncReloader extends AsyncReloader<DebugAsyncReloader.DataPoint>
Modifier and Type | Class and Description |
---|---|
static class |
DebugAsyncReloader.DataPoint |
AsyncReloader.IStateFactory<S>
Modifier and Type | Field and Description |
---|---|
private static org.apache.logging.log4j.Logger |
LOGGER |
private com.google.common.base.Stopwatch |
timer |
allAsyncCompleted, resourceManager, resultListFuture
Constructor and Description |
---|
DebugAsyncReloader(IResourceManager p_i50694_1_,
java.util.List<IFutureReloadListener> listeners,
java.util.concurrent.Executor backgroundExecutor,
java.util.concurrent.Executor gameExecutor,
java.util.concurrent.CompletableFuture<Unit> alsoWaitedFor) |
Modifier and Type | Method and Description |
---|---|
private void |
logStatistics(java.util.List<DebugAsyncReloader.DataPoint> datapoints) |
asyncPartDone, create, estimateExecutionSpeed, fullyDone, join, onceDone
private static final org.apache.logging.log4j.Logger LOGGER
private final com.google.common.base.Stopwatch timer
public DebugAsyncReloader(IResourceManager p_i50694_1_, java.util.List<IFutureReloadListener> listeners, java.util.concurrent.Executor backgroundExecutor, java.util.concurrent.Executor gameExecutor, java.util.concurrent.CompletableFuture<Unit> alsoWaitedFor)
private void logStatistics(java.util.List<DebugAsyncReloader.DataPoint> datapoints)