See: Description
| Class | Description |
|---|---|
| GlowScheduler |
A scheduler for managing server ticks, Bukkit tasks, and other synchronization.
|
| GlowTask |
Represents a task which is executed periodically.
|
| PulseTask | |
| WorldScheduler |
Manager for world thread pool.
|
Glowstone has 4 groups of threads:
Whenever a thread wishes to call an event or perform other interactions with Bukkit API, it
calls the GlowScheduler.syncIfNeeded(
java.util.concurrent.Callable).
The scheduler thread synchronizes the world threads, so that each world thread begins a tick at the beginning of a scheduler pulse.
Operation order:
Copyright © 2021. All rights reserved.