Exemplo n.º 1
0
 /** Creates a new ProgressWatch object. */
 private ProgressWatch() {
   // FIXME: it is highly desirable to have a customised scheduledThreadPool since there are some
   // issues that
   // will go uncaught
   poller =
       Executors.newScheduledThreadPool(
           5, SudplanConcurrency.createThreadFactory("progress-watch")); // NOI18N
   deregisterDispatcher =
       CismetExecutors.newSingleThreadExecutor(
           SudplanConcurrency.createThreadFactory("deregister-dispatcher")); // NOI18N
 }
 /** Creates a new TimeseriesTransmitter object. */
 private TimeseriesTransmitter() {
   executor =
       CismetExecutors.newCachedThreadPool(
           SudplanConcurrency.createThreadFactory("timeseries-transmitter")); // NOI18N
 }