Examples of stop()


Examples of br.com.ingenieux.mojo.jbake.util.DirWatcher.stop()

      throw new MojoExecutionException("Oops", exc);
    } finally {
      getLog().info("Finishing");

      if (null != dirWatcher)
        dirWatcher.stop();

      stopServer();
    }
  }
View Full Code Here

Examples of br.com.procempa.modus.synchronizer.SynchronizerService.stop()

      sinc.start();
      Thread.sleep(12000);
      insertMain();
      insertLocal();
      Thread.sleep(10000);
      sinc.stop();
     
    } catch (Exception e) {
      e.printStackTrace();
    }
  }
View Full Code Here

Examples of brooklyn.entity.container.docker.DockerContainer.stop()

            }

            // Now close and unmange the container
            try {
                machine.close();
                container.stop();
            } catch (Exception e) {
                LOG.warn("Error stopping container: " + container, e);
                Exceptions.propagateIfFatal(e);
            } finally {
                Entities.unmanage(container);
View Full Code Here

Examples of brooklyn.entity.container.docker.DockerHost.stop()

        }

        // Now close and unmange the host
        try {
            machine.close();
            host.stop();
        } catch (Exception e) {
            LOG.warn("Error stopping host: " + host, e);
            Exceptions.propagateIfFatal(e);
        } finally {
            Entities.unmanage(host);
View Full Code Here

Examples of ca.uhn.hl7v2.app.SimpleServer.stop()

    @Override
    protected void stopEndpoint(HL7Endpoint endpoint) {
        SimpleServer server = serverTable.remove(endpoint);
        if (server != null) {
            server.stop();
        }

        log.info("Stopped HL7 endpoint on port: " + endpoint.getPort());
    }
}
View Full Code Here

Examples of ca.uhn.hl7v2.protocol.Processor.stop()

            public void run() {
                while (server.isRunning()) {
                    try {
                        Processor p = server.accept(theAddress);
                        if (!myIsRunning) {
                          p.stop();
                        } else {
                            server.newProcessor(p);
                            Thread.sleep(1);
                        }
                    } catch (TransportException e) {
View Full Code Here

Examples of cascading.flow.Flow.stop()

      }
    } );

    start.acquire();
    LOG.info( "calling stop" );
    flow.stop();

    long stopTime = System.nanoTime() - startTime;
    long completeTime = future.get();

    assertTrue( String.format( "stop: %s complete: %s", stopTime, completeTime ), stopTime <= completeTime );
View Full Code Here

Examples of cern.colt.Timer.stop()

      map.rehash(PrimeFinder.nextPrime(size*2));
      timer1.stop();

      timer2.start();
      map.rehash(PrimeFinder.nextPrime((int) (size*1.5)));
      timer2.stop();
    }
  }

  System.out.println("adding: "+timer0);
  System.out.println("growing: "+timer1);
View Full Code Here

Examples of ch.entwine.weblounge.common.site.Site.stop()

          throw new WebApplicationException(Status.PRECONDITION_FAILED);
        } catch (SiteException e) {
          throw new WebApplicationException(Status.INTERNAL_SERVER_ERROR);
        }
      } else if (site.isOnline() && ConfigurationUtils.isDisabled(status)) {
        site.stop();
      } else {
        throw new WebApplicationException(Status.BAD_REQUEST);
      }
    }
View Full Code Here

Examples of ch.ethz.inf.net.WebServer.stop()

      if ( !("NONE".equals(list)) ) {
        Object[] array=ram.allAspects().toArray();
        for (int i = 0; i < array.length; i++)
          System.err.println("Aspect[" + i + "]: " + array[i]);
      }
      server.stop();
      exitCode =0;
    }
    catch (java.lang.ClassNotFoundException cannotFoundClass) {
      System.err.println("prose: *Error* The class '" + aspectToInsert + "' could not be found in the classpath");
    }
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.