Class BukkitChunkCoordinator

java.lang.Object
com.plotsquared.core.queue.ChunkCoordinator
com.plotsquared.bukkit.queue.BukkitChunkCoordinator
All Implemented Interfaces:
Runnable

public final class BukkitChunkCoordinator extends ChunkCoordinator
Utility that allows for the loading and coordination of chunk actions

The coordinator takes in collection of chunk coordinates, loads them and allows the caller to specify a sink for the loaded chunks. The coordinator will prevent the chunks from being unloaded until the sink has fully consumed the chunk