Package gaiasky.util.ds
Class DatasetUpdater
- java.lang.Object
-
- gaiasky.util.ds.DatasetUpdater
-
public class DatasetUpdater extends java.lang.ObjectContains the infrastructure to run tasks that sort and update the dataset metadata.
-
-
Constructor Summary
Constructors Constructor Description DatasetUpdater()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanexecute(java.lang.Runnable r)static voidinitialize()static booleaninQueue(java.lang.Runnable task)static java.util.concurrent.ThreadPoolExecutorpool()static voidshutDownThreadPool()static java.util.concurrent.BlockingQueue<java.lang.Runnable>workQueue()
-
-
-
Method Detail
-
initialize
public static void initialize()
-
execute
public static boolean execute(java.lang.Runnable r)
-
pool
public static java.util.concurrent.ThreadPoolExecutor pool()
-
workQueue
public static java.util.concurrent.BlockingQueue<java.lang.Runnable> workQueue()
-
inQueue
public static boolean inQueue(java.lang.Runnable task)
-
shutDownThreadPool
public static void shutDownThreadPool()
-
-