This repository was archived by the owner on Jun 7, 2022. It is now read-only.
This repository was archived by the owner on Jun 7, 2022. It is now read-only.
Rework the scheduler and file utility #159
Open
Description
The scheduler is very weird and wastes resources.
The TaskScheduler is very weirdly set up and requires major rewriting.
This is very noticable with long lasting tasks like copying a large template.
It would be best to simply replace this large class with a ScheduledExecutorService
While we are at it, we should also rewrite the FileUtility to use ready-made methods directly from Java: https://github.com/CloudNetService/CloudNet/blob/development/cloudnet-wrapper/src/main/java/de/dytanic/cloudnetwrapper/util/FileUtility.java.
Current progress:
- FileUtility
- TaskScheduler