Class BackgroundTaskService
java.lang.Object
io.github.itech_framework.java_fx.utils.concurrent.BackgroundTaskService
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidexecuteRunnable(Runnable task) <T> voidexecuteTask(Callable<T> task, Consumer<T> onSuccess, Consumer<Exception> onError) <T> voidexecuteTask(Callable<T> task, Consumer<T> onSuccess, Consumer<Exception> onError, Consumer<Double> onProgress) static BackgroundTaskServicescheduleTask(Runnable task, long delay, TimeUnit unit) voidshutdown()
-
Method Details
-
getInstance
-
executeTask
-
executeTask
-
executeRunnable
-
scheduleTask
-
executeProgressTask
-
shutdown
public void shutdown()
-