Examples of stop()


Examples of org.xmlBlaster.util.Execute.stop()

                  String slaveName = slaveNames[i];
                  if (slaveName != null) {
                     Execute oldExecute = (Execute)this.runningExecutes.remove(slaveName);
                     if (oldExecute != null) {
                        log.warning("A new request for an initial update has come for '" + slaveName + "' but there is one already running. Will shut down the running one first");
                        oldExecute.stop();
                        log.info("old initial request for '" + slaveName + "' has been shut down");
                        this.runningExecutes.put(slaveName, execute);
                     }
                  }
               }
View Full Code Here

Examples of org.xwiki.test.integration.XWikiExecutor.stop()

                }

                super.run(notifier);
            } finally {
                try {
                    executor.stop();
                } catch (Exception e) {
                    // Squash this and let the original exception be thrown.
                }
            }
        }
View Full Code Here

Examples of org.zkoss.zk.ui.sys.DesktopCache.stop()

  public void sessionDestroyed(Session sess) {
    final SessionCtrl sessCtrl = (SessionCtrl)sess;
    final DesktopCache dc = sessCtrl.getDesktopCache();
    if (dc != null) {
      sessCtrl.setDesktopCache(null);
      dc.stop();
    }
  }

  /** Invokes {@link #getDesktopCache}'s {@link DesktopCache#sessionWillPassivate}.
   */
 
View Full Code Here

Examples of paulscode.sound.SoundSystem.stop()

            playRandomMusic();
         } else if (split[1].equalsIgnoreCase("next") || split[1].equalsIgnoreCase("skip")) {
            SoundSystem sound = getSoundSystem();
            if (sound != null) {
               if (sound.playing("BgMusic")) {
                  sound.stop("BgMusic");
               }
               if (sound.playing("streaming")) {
                  sound.stop("streaming");
               }
            }
View Full Code Here

Examples of processing.core.PApplet.stop()

            } finally {
                image.dispose();
            }

            processing.stop();
            System.exit(0);

        } catch (Throwable t) {
            System.err.println(t.getMessage());
            System.exit(1);
View Full Code Here

Examples of proj.zoie.perf.indexing.LinedFileDataProvider.stop()

    while ((eventCount = perfVersion.countVersion + 1) < maxSize) {
      Thread.sleep(500);
      perfVersion = ZoiePerfVersion.fromString(testHandler.consumer.getVersion());
    }

    dataProvider.stop();
    testHandler.consumer.stop();

    long end = System.currentTimeMillis();

    for (int i = 0; i < searchThreads.length; ++i) {
View Full Code Here

Examples of pt.opensoft.util.Timer.stop()

        throw new SocketTimeoutException();
      }
      ex = e;
      throw e;
    } finally {
      timer.stop();
      boolean tooLong = (this.threshold > 0 && timer.ellapsed() > this.threshold);
      if (tooLong) {
        this.logger.push("too long");
      }
      if (timeout) {
View Full Code Here

Examples of ptolemy.actor.Manager.stop()

     */
    public void stopRun(CompositeActor model) {
        Manager manager = model.getManager();

        if (manager != null) {
            manager.stop();
        }
    }

    /** Wait for all windows to close.
     */
 
View Full Code Here

Examples of rabbit.tracking.internal.TrackingPlugin.stop()

    field.setAccessible(true);
    field.set(rc, ImmutableSet.<ITracker<?>> of(tracker));
   
    rc.saveCurrentData();
    assertTrue(tracker.getData().isEmpty());
    rc.stop(rc.getBundle().getBundleContext());
  }

  @Test
  public void testSetEnableTrackers() throws Exception {
    Method m = TrackingPlugin.class.getDeclaredMethod("setEnableTrackers",
View Full Code Here

Examples of railo.runtime.thread.ChildThread.stop()

      throw new ApplicationException("there is no thread running with the name ["+name+"]");
    ChildThread ct = ts.getChildThread();
   
    if(ct.isAlive()){
      ct.terminated();
      ct.stop();
    }
   
  }

  private PageContext getMainPageContext(PageContext pc) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.