类 DataFetcher.Task<T>
java.lang.Object
com.mojang.realmsclient.gui.task.DataFetcher.Task<T>
- 封闭类:
- DataFetcher
-
字段概要
字段修饰符和类型字段说明private final String
(专用程序包) DataFetcher.SuccessfulComputationResult<T>
private long
private CompletableFuture<DataFetcher.ComputationResult<T>>
private final long
private final RepeatedDelayStrategy
-
构造器概要
构造器 -
方法概要
-
字段详细资料
-
id
-
updater
-
period
private final long period -
repeatStrategy
-
pendingTask
-
lastResult
-
nextUpdate
private long nextUpdate
-
-
构造器详细资料
-
Task
Task(String pId, Callable<T> pUpdater, long pPeriod, RepeatedDelayStrategy pRepeatStrategy)
-
-
方法详细资料
-
updateIfNeeded
void updateIfNeeded(long p_239710_) -
reset
public void reset()
-