Class DatasetUpdater

java.lang.Object
gaiasky.util.ds.DatasetUpdater

public class DatasetUpdater
extends java.lang.Object
Contains the infrastructure to run tasks that sort and update the dataset metadata.
  • Constructor Summary

    Constructors
    Constructor Description
    DatasetUpdater()  
  • Method Summary

    Modifier and Type Method Description
    static boolean execute​(java.lang.Runnable r)  
    static void initialize()  
    static boolean inQueue​(java.lang.Runnable task)  
    static java.util.concurrent.ThreadPoolExecutor pool()  
    static void shutDownThreadPool()  
    static java.util.concurrent.BlockingQueue<java.lang.Runnable> workQueue()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DatasetUpdater

      public DatasetUpdater()
  • Method Details

    • 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()