Package net.minestom.server.thread
Class ThreadDispatcher.Partition
java.lang.Object
net.minestom.server.thread.ThreadDispatcher.Partition
- Enclosing class:
ThreadDispatcher<P>
A data structure which may contain
Tickables, and is assigned a single TickThread.-
Method Summary
Modifier and TypeMethodDescriptionelements()TheTickables assigned to this partition.@NotNull TickThreadthread()TheTickThreadused by this partition.
-
Method Details
-
thread
TheTickThreadused by this partition.This method is marked internal to reflect
TickThreads own internal status.- Returns:
- the TickThread used by this partition
-
elements
TheTickables assigned to this partition.- Returns:
- the tickables assigned to this partition
-