Examples of stop()


Examples of org.eclipse.tycho.p2.tools.publisher.PublisherService.stop()

        PublisherService publisherService = createPublisherService();
        try {
            Collection<?> units = publishContent(publisherService);
            postPublishedIUs(units);
        } finally {
            publisherService.stop();
        }
    }

    /**
     * Publishes source files with the help of the given publisher service.
View Full Code Here

Examples of org.eclipse.wst.server.core.IServer.stop()

    IModule module = artifacts[0].getModule();

    IServer httpServer = getHelper().getHTTPServer();
    Assert.assertNotNull(httpServer);

    httpServer.stop(true);

    ServerCore.setDefaultServer(module, httpServer,
        new NullProgressMonitor());
  }
View Full Code Here

Examples of org.elasticsearch.common.StopWatch.stop()

            BulkResponse response = request.execute().actionGet();
            if (response.hasFailures()) {
                System.err.println("failures...");
            }
            if (((i * BATCH) % 10000) == 0) {
                System.out.println("Indexed " + (i * BATCH) + " took " + stopWatch.stop().lastTaskTime());
                stopWatch.start();
            }
        }
        System.out.println("Indexing took " + stopWatch.totalTime() + ", TPS " + (((double) COUNT) / stopWatch.totalTime().secondsFrac()));

View Full Code Here

Examples of org.elasticsearch.node.Node.stop()

                while (!stopped) {
                    try {
                        Thread.sleep(1000);
                    } catch (InterruptedException e) {
                        if (node != null) {
                            node.stop();
                        }
                    }
                }

                node.stop();
View Full Code Here

Examples of org.encog.util.Stopwatch.stop()

      while (this.currentJob.shouldContinue()) {
        train.iteration();
        interation++;
      }
      watch.stop();
    } catch (final Throwable t) {
      this.currentJob.setError(t);
    } finally {
      this.ready.set(true);
      this.manager.jobDone(watch.getElapsedMilliseconds(), this);
View Full Code Here

Examples of org.exist.validation.ValidationReport.stop()

        } catch (final Throwable ex) {
            LOG.error(ex);
            report.setException(ex);

        } finally {
            report.stop();

            Shared.closeStreamSource(instance);
            Shared.closeStreamSources(grammars);
        }
View Full Code Here

Examples of org.exoplatform.container.StandaloneContainer.stop()

   {
      log.info("<<<<<<<<<<<<<<<<<< JcrResourceAdapter.stop(), " + containerConfig + " >>>>>>>>>>>>>>>>>>>");
      try
      {
         StandaloneContainer sc = StandaloneContainer.getInstance();
         sc.stop();
      }
      catch (Exception e)
      {
         log.error("Standalone container stop error: " + e, e);
      }
View Full Code Here

Examples of org.exoplatform.services.ispn.DistributedCacheManager.stop()

            }
         }
      }
      finally
      {
         dcm2.stop();
      }
   }

   @SuppressWarnings({"unchecked", "rawtypes"})
   private void checkUseCase(DistributedExoCache<Serializable, Object> cache1,
View Full Code Here

Examples of org.exoplatform.services.jcr.cluster.JCRWebdavConnection.stop()

         }
         finally
         {
            if (conn != null)
            {
               conn.stop();
            }
         }

      }
   }
View Full Code Here

Examples of org.exoplatform.services.jcr.impl.RepositoryContainer.stop()

      dataSize = quotaManager.getGlobalDataSize();

      RepositoryContainer repoContainer =
         (RepositoryContainer)container.getComponentInstance(repository.getConfiguration().getName());
      repoContainer.stop();

      assertEquals(dataSize, quotaManager.getGlobalDataSize());
   }
}
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.