Examples of stop()


Examples of org.data2semantics.exp.old.utils.Experimenter.stop()

      }
    } catch (Exception e) {
      e.printStackTrace();
    }

    experimenter.stop();

    while (expT.isAlive()) {
      try {
        Thread.sleep(1000);
      } catch (Exception e) {
View Full Code Here

Examples of org.destecs.ide.core.internal.builder.SafeBuilder.stop()

          while (builder.isAlive())
          {
            Thread.sleep(100);
            if (mon.isCanceled())
            {
              builder.stop();
            }
          }

        }
View Full Code Here

Examples of org.directmemory.measures.Monitor.stop()

          long split = stopWatch.start();
      final byte[] array = serializer.serialize(pojo, pojo.getClass());
      stopWatch.stop(split);
      long split2 = stopWatch2.start();
      DummyPojo check = (DummyPojo) serializer.deserialize(array, pojo.getClass());
      stopWatch2.stop(split2);
      assertNotNull("object has not been serialized", check);
      assertEquals(pojo.name, check.name);
    }
    logger.info("end serialize " + serializer.getClass().toString() + "\r\n" + stopWatch.toString());
    logger.info("end deserialize " + serializer.getClass().toString() + "\r\n" + stopWatch2.toString());
View Full Code Here

Examples of org.drools.runtime.pipeline.Service.stop()

        pipeline.insert( factHandle,
                         resultHandler );

        assertEqualsIgnoreWhitespace( xml,
                                      (String) resultHandler.getObject() );
        feeder.stop();

    }

    public static class ResultHandleFactoryImpl
        implements
View Full Code Here

Examples of org.dtk.util.FileServer.stop()

    compareUnsortedModuleLists(Arrays.asList("dojo.parser", "dijit.form.Button", "dojox.grid.EnhancedGrid"),
      (List<String>) jsonResponse.get("requiredDojoModules"));
    assertEquals(Collections.EMPTY_LIST, (List<String>) jsonResponse.get("availableModules"));   
    assertEquals(Collections.EMPTY_LIST, (List) jsonResponse.get("packages"));
   
    fs.stop();       
  }
 
  public void testAnalyseWebApplicationFromDirectory(String directoryPath) throws Exception {
    FileServer fs = FileServer.spawn(testPort, directoryPath);   
   
View Full Code Here

Examples of org.eclim.plugin.jdt.command.debug.context.DebuggerContext.stop()

    DebuggerContext ctx = DebuggerContextManager.getDefault();
    if (ctx == null) {
      return Services.getMessage("debugging.session.absent");
    }

    ctx.stop();
    DebuggerContextManager.remove(ctx.getId());
    return Services.getMessage("debugging.session.stopped");
  }
}
View Full Code Here

Examples of org.eclipse.equinox.app.IApplication.stop()

    // first set the status to stopping
    setAppStatus(EclipseAppHandle.FLAG_STOPPING);
    // now force the appliction to stop
    IApplication app = getApplication();
    if (app != null)
      app.stop();
    // make sure the app status is stopped
    setAppStatus(EclipseAppHandle.FLAG_STOPPED);
  }

  synchronized void setServiceRegistration(ServiceRegistration sr) {
View Full Code Here

Examples of org.eclipse.equinox.p2.core.IProvisioningAgent.stop()

  @Override
  public void stop(BundleContext context) throws Exception {
    IProvisioningAgent oldAgent = agent;
    agent = null;
    if (oldAgent != null) {
      oldAgent.stop();
    }
   
    injectors.clear();
   
    context = null;
View Full Code Here

Examples of org.eclipse.jdt.debug.core.IJavaThread.stop()

   */
  @Override
  public void execute() throws CoreException {
    IJavaObject exception = (IJavaObject) popValue();
    final IJavaThread javaThread = getContext().getThread();
    javaThread.stop(exception);
    javaThread.queueRunnable(new Runnable() {
      public void run() {
        try {
          javaThread.resume();
        } catch (DebugException e) {
View Full Code Here

Examples of org.eclipse.jetty.client.HttpClient.stop()

        contentExchange.setMethod("POST");
        contentExchange.setURL("http://localhost:8080/message/test?clientId=test&action=unsubscribe");
        httpClient.send(contentExchange);
        contentExchange.waitForDone();

        httpClient.stop();

        ObjectName query = new ObjectName("org.apache.activemq:BrokerName=localhost,Type=Subscription,destinationType=Queue,destinationName=test,*");
        Set<ObjectName> subs = broker.getManagementContext().queryNames(query, null);
        assertEquals("Consumers not closed", 0 , subs.size());
    }
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.