public class AsyncReloader<S> extends java.lang.Object implements IAsyncReloader
| 修飾子とタイプ | クラスと説明 | 
|---|---|
| static interface  | AsyncReloader.IStateFactory<S> | 
| 修飾子とタイプ | フィールドと説明 | 
|---|---|
| protected java.util.concurrent.CompletableFuture<Unit> | allAsyncCompleted | 
| protected IResourceManager | resourceManager | 
| protected java.util.concurrent.CompletableFuture<java.util.List<S>> | resultListFuture | 
| 修飾子 | コンストラクタと説明 | 
|---|---|
| protected  | AsyncReloader(java.util.concurrent.Executor backgroundExecutor,
             java.util.concurrent.Executor gameExecutor,
             IResourceManager resourceManager,
             java.util.List<IFutureReloadListener> listeners,
             AsyncReloader.IStateFactory<S> stateFactory,
             java.util.concurrent.CompletableFuture<Unit> alsoWaitedFor) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| boolean | asyncPartDone() | 
| static AsyncReloader<java.lang.Void> | create(IResourceManager resourceManager,
      java.util.List<IFutureReloadListener> listeners,
      java.util.concurrent.Executor backgroundExecutor,
      java.util.concurrent.Executor gameExecutor,
      java.util.concurrent.CompletableFuture<Unit> alsoWaitedFor) | 
| float | estimateExecutionSpeed() | 
| boolean | fullyDone() | 
| void | join() | 
| java.util.concurrent.CompletableFuture<Unit> | onceDone() | 
protected final IResourceManager resourceManager
protected final java.util.concurrent.CompletableFuture<Unit> allAsyncCompleted
protected final java.util.concurrent.CompletableFuture<java.util.List<S>> resultListFuture
protected AsyncReloader(java.util.concurrent.Executor backgroundExecutor,
                        java.util.concurrent.Executor gameExecutor,
                        IResourceManager resourceManager,
                        java.util.List<IFutureReloadListener> listeners,
                        AsyncReloader.IStateFactory<S> stateFactory,
                        java.util.concurrent.CompletableFuture<Unit> alsoWaitedFor)
public static AsyncReloader<java.lang.Void> create(IResourceManager resourceManager, java.util.List<IFutureReloadListener> listeners, java.util.concurrent.Executor backgroundExecutor, java.util.concurrent.Executor gameExecutor, java.util.concurrent.CompletableFuture<Unit> alsoWaitedFor)
public java.util.concurrent.CompletableFuture<Unit> onceDone()
onceDone インタフェース内 IAsyncReloaderpublic float estimateExecutionSpeed()
estimateExecutionSpeed インタフェース内 IAsyncReloaderpublic boolean asyncPartDone()
asyncPartDone インタフェース内 IAsyncReloaderpublic boolean fullyDone()
fullyDone インタフェース内 IAsyncReloaderpublic void join()
join インタフェース内 IAsyncReloader