Uses of Class
com.plotsquared.core.queue.ChunkCoordinatorBuilder
Packages that use ChunkCoordinatorBuilder
-
Uses of ChunkCoordinatorBuilder in com.plotsquared.core.inject.factory
Methods in com.plotsquared.core.inject.factory that return ChunkCoordinatorBuilderModifier and TypeMethodDescriptionChunkCoordinatorBuilderFactory.create(@NonNull ChunkCoordinatorFactory chunkCoordinatorFactory) -
Uses of ChunkCoordinatorBuilder in com.plotsquared.core.queue
Methods in com.plotsquared.core.queue that return ChunkCoordinatorBuilderModifier and TypeMethodDescriptionChunkCoordinatorBuilder.forceSync(boolean forceSync) Set whether the chunks coordinator should be forced to be synchronous.Set the worldChunkCoordinatorBuilder.unloadAfter(boolean unloadAfter) Set whether the chunks should be allow to unload after being accessed.ChunkCoordinatorBuilder.withChunk(@NonNull BlockVector2 chunkLocation) Add a chunk to be accessedChunkCoordinatorBuilder.withChunks(@NonNull Collection<BlockVector2> chunkLocations) Add a Collection of chunks to be accessedChunkCoordinatorBuilder.withConsumer(@NonNull Consumer<BlockVector2> chunkConsumer) Set the consumer to be used when a chunk is loadedChunkCoordinatorBuilder.withFinalAction(@Nullable Runnable whenDone) Set the Runnable to run when all chunks have been accessedChunkCoordinatorBuilder.withInitialBatchSize(int initialBatchSize) Set the initial batch size to be used for loading chunksChunkCoordinatorBuilder.withMaxIterationTime(long maxIterationTime) Set the max time taken while iterating over and accessing loaded chunksChunkCoordinatorBuilder.withProgressSubscriber(ProgressSubscriber progressSubscriber) ChunkCoordinatorBuilder.withProgressSubscribers(Collection<ProgressSubscriber> progressSubscribers) ChunkCoordinatorBuilder.withRegion(@NonNull Location pos1, @NonNull Location pos2) Add chunks within a region to be accessedChunkCoordinatorBuilder.withThrowableConsumer(@NonNull Consumer<Throwable> throwableConsumer) Set the consumer to be used to handleThrowables