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
Tickable
s, and is assigned a single TickThread
.-
Method Summary
Modifier and TypeMethodDescriptionelements()
TheTickable
s assigned to this partition.@NotNull TickThread
thread()
TheTickThread
used by this partition.
-
Method Details
-
thread
TheTickThread
used by this partition.This method is marked internal to reflect
TickThread
s own internal status.- Returns:
- the TickThread used by this partition
-
elements
TheTickable
s assigned to this partition.- Returns:
- the tickables assigned to this partition
-