类 ThrottlingChunkTaskDispatcher
java.lang.Object
net.minecraft.server.level.ChunkTaskDispatcher
net.minecraft.server.level.ThrottlingChunkTaskDispatcher
- 所有已实现的接口:
AutoCloseable
,ChunkHolder.LevelChangeListener
-
字段概要
字段修饰符和类型字段说明private final it.unimi.dsi.fastutil.longs.LongSet
private final String
private final int
从类继承的字段 net.minecraft.server.level.ChunkTaskDispatcher
DISPATCHER_PRIORITY_COUNT, sleeping
-
构造器概要
构造器构造器说明ThrottlingChunkTaskDispatcher
(TaskScheduler<Runnable> p_364785_, Executor p_366572_, int p_363868_) -
方法概要
修饰符和类型方法说明protected void
onRelease
(long p_362718_) protected ChunkTaskPriorityQueue.TasksForChunk
popTasks()
protected void
从类继承的方法 net.minecraft.server.level.ChunkTaskDispatcher
close, hasWork, onLevelChange, pollTask, release, submit
-
字段详细资料
-
chunkPositionsInExecution
private final it.unimi.dsi.fastutil.longs.LongSet chunkPositionsInExecution -
maxChunksInExecution
private final int maxChunksInExecution -
executorSchedulerName
-
-
构造器详细资料
-
ThrottlingChunkTaskDispatcher
public ThrottlingChunkTaskDispatcher(TaskScheduler<Runnable> p_364785_, Executor p_366572_, int p_363868_)
-
-
方法详细资料
-
onRelease
protected void onRelease(long p_362718_) - 覆盖:
onRelease
在类中ChunkTaskDispatcher
-
popTasks
- 覆盖:
popTasks
在类中ChunkTaskDispatcher
-
scheduleForExecution
-
getDebugStatus
-