cz.cuni.mff.ksi.jinfer.base.utils
Class AsynchronousUtils
java.lang.Object
cz.cuni.mff.ksi.jinfer.base.utils.AsynchronousUtils
public final class AsynchronousUtils
- extends Object
Utility class for asynchronous invocation of a task.
Method Summary |
static void |
runAsync(Runnable task,
String taskName)
Executes the specified task asynchronously and shows a NBP progress bar
for it. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
runAsync
public static void runAsync(Runnable task,
String taskName)
- Executes the specified task asynchronously and shows a NBP progress bar
for it.
- Parameters:
task
- Task to execute.taskName
- Name of the task. Will be displayed next to its NBP
progress bar.
Generated on Fri Dec 9 00:01:25 CET 2011