Examples of stop()


Examples of org.servicemix.jbi.framework.ComponentMBeanImpl.stop()

        String result = "NOT FOUND: " + componentName;
        ObjectName objName = getComponentByName(componentName);
        if (objName != null) {
            ComponentMBeanImpl mbean = (ComponentMBeanImpl) beanMap.get(objName);
            if (mbean != null) {
                mbean.stop();
                result = mbean.getCurrentState();
            }
        }
        return result;
    }
View Full Code Here

Examples of org.sf.bee.profiler.components.TimeWatcher.stop()

            result = false;
        } else {
            result = true;
        }

        watch.stop();
        this.logStarted(watch.toString());

        return result;
    }
View Full Code Here

Examples of org.simpleframework.http.core.ContainerServer.stop()

            InetSocketAddress usedAddress = (InetSocketAddress)connection.connect(address);

            return new SimpleHttpFileServer(contentRoot, usedAddress.getPort(), new Stoppable() {
                public void stop() {
                    try {
                        server.stop();
                    } catch (IOException e) {
                        throw new UncheckedIOException(e);
                    }
                }
            });
View Full Code Here

Examples of org.simpleframework.transport.Server.stop()

            InetSocketAddress usedAddress = (InetSocketAddress)connection.connect(address);

            return new SimpleHttpFileServer(contentRoot, usedAddress.getPort(), new Stoppable() {
                public void stop() {
                    try {
                        server.stop();
                    } catch (IOException e) {
                        throw new UncheckedIOException(e);
                    }
                }
            });
View Full Code Here

Examples of org.simpleframework.transport.reactor.ExecutorReactor.stop()

      testOutputStream(consumer, out, size, repeat);

      out.close();
      executor.shutdown();
      channel.close();
      reactor.stop();
    //  dumper.kill();
      Thread.sleep(100);
   }

   public void s_testSocket() throws Exception {
View Full Code Here

Examples of org.simpleframework.transport.reactor.Reactor.stop()

      testOutputStream(consumer, out, size, repeat);

      out.close();
      executor.shutdown();
      channel.close();
      reactor.stop();
    //  dumper.kill();
      Thread.sleep(100);
   }

   public void s_testSocket() throws Exception {
View Full Code Here

Examples of org.sleuthkit.autopsy.coreutils.StopWatch.stop()

            catch (Exception ex) {
                logger.log(Level.WARNING, "searcher exception occurred", ex); //NON-NLS
            } finally {
                try {
                    finalizeSearcher();
                    stopWatch.stop();                  
                   
                    logger.log(Level.INFO, "Searcher took to run: {0} secs.", stopWatch.getElapsedTimeSecs()); //NON-NLS
                } finally {
                    // In case a thread is waiting on this worker to be done
                    job.searchNotify();
View Full Code Here

Examples of org.slf4j.profiler.Profiler.stop()

     */
    public void stopProfiler(String profilerName) {
        final ProfilerRegistry profilerRegistry = ProfilerRegistry.getThreadContextInstance();
        Profiler profiler = profilerRegistry.get(profilerName);
        if (profiler != null) {
            profiler.stop().log();
        }
        profilerRegistry.clear();
        threadLocal.set(null);
    }

View Full Code Here

Examples of org.smpp.smscsim.SMSCSession.stop()

                SMSCSession session;
                for (int i = 0; i < procCount; i++) {
                    proc = (TestPDUProcessor) processors.get(i);
                    session = proc.getSession();
                    System.out.print("Stopping session ... ");
                    session.stop();
                    System.out.println(" stopped.");
                }
            }
            smscListener.stop();
            smscListener = null;
View Full Code Here

Examples of org.snu.ids.ha.util.Timer.stop()

    } catch (Exception e) {
      e.printStackTrace();
      System.err.println(line);
      System.err.println("Unable to load probability dictionary!!");
    } finally {
      timer.stop();
      System.out.println(LN_PROB_HASH.size() + " values are loaded. (Loading time( " + timer.getInterval() + " secs)");
    }
  }

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.