Class CustomScheduler
java.lang.Object
org.tavall.couriers.api.utils.scheduler.CustomScheduler
- All Implemented Interfaces:
ICustomScheduler
CustomScheduler – TODO: implement class functionality
Auto-generated skeleton by MondayGPT-style template
- Since:
- 11/15/2025
- Author:
- TJ
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleancancelTask(ScheduledFuture<?> task) voidremoveTask(ScheduledFuture<?> t) runTaskLater(Runnable task, long delayMs) Run single-threaded task laterrunTaskLater(Callable<?> task, long delayMs) Run single-threaded task laterrunTaskLaterAsync(Runnable task, long delayMs) Run multi-threaded task laterrunTaskLaterAsync(Callable<?> task, long delayMs) runTaskRepeating(Runnable task, long delayMs, long periodMs) Repeat sync-like taskrunTaskRepeatingAsync(Runnable task, long delayMs, long periodMs) Repeat async taskvoidshutdown()voidshutdownGracefully(long timeoutMs)
-
Constructor Details
-
CustomScheduler
public CustomScheduler()
-
-
Method Details
-
runTaskLaterAsync
Run multi-threaded task later- Specified by:
runTaskLaterAsyncin interfaceICustomScheduler
-
runTaskLater
Run single-threaded task later- Specified by:
runTaskLaterin interfaceICustomScheduler
-
runTaskLaterAsync
- Specified by:
runTaskLaterAsyncin interfaceICustomScheduler
-
runTaskLater
Run single-threaded task later- Specified by:
runTaskLaterin interfaceICustomScheduler
-
runTaskRepeatingAsync
Repeat async task- Specified by:
runTaskRepeatingAsyncin interfaceICustomScheduler
-
runTaskRepeating
Repeat sync-like task- Specified by:
runTaskRepeatingin interfaceICustomScheduler
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceICustomScheduler
-
shutdownGracefully
public void shutdownGracefully(long timeoutMs) - Specified by:
shutdownGracefullyin interfaceICustomScheduler
-
cancelTask
- Specified by:
cancelTaskin interfaceICustomScheduler
-
cancelAllTasks
public void cancelAllTasks()- Specified by:
cancelAllTasksin interfaceICustomScheduler
-
removeTask
- Specified by:
removeTaskin interfaceICustomScheduler
-