Examples of stop()


Examples of com.fasterxml.storemate.store.StorableStore.stop()

            _findFiles(dir, filenames);
            if (filenames.size() != 1) {
                fail("Should only have 1 store file after operations, got "+filenames.size()+": "+filenames);
            }
         } finally {
            store.stop();
        }
    }

    private void _findFiles(File dir, List<String> filenames) throws IOException
    {
View Full Code Here

Examples of com.gemstone.gemfire.cache.wan.GatewayReceiver.stop()

      assertEquals(10000, autoGatewayReceiver.getMaximumTimeBetweenPings());
      assertTrue(autoGatewayReceiver.isRunning());
      assertEquals(16384, autoGatewayReceiver.getSocketBufferSize());
    }
    finally {
      autoGatewayReceiver.stop();
    }
  }

}
View Full Code Here

Examples of com.gentics.cr.monitoring.UseCase.stop()

          requestID.append('?');
          requestID.append(request.getQueryString());
        }
        log.info("Executiontime for " + requestID + ":" + (endtime - starttime));
      }
      uc.stop();
    }
  }

  public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    doServiceSafe(request, response);
View Full Code Here

Examples of com.gi.server.core.service.mapservice.MapService.stop()

    if (authorized) {
      try {
        MapService mapService = ServiceManager
            .getMapService(serviceName);
        if (mapService != null) {
          result = mapService.stop();
        }
      } catch (Exception ex) {
        ex.printStackTrace();
      }
    }
View Full Code Here

Examples of com.gitblit.fanout.FanoutClient.stop()

    // ping and wait for pong
    client.ping();
    Thread.sleep(500);

    // restart client
    client.stop();
    Thread.sleep(1000);
    client.startSynchronously();

    // ping and wait for pong
    client.ping();
View Full Code Here

Examples of com.gitblit.manager.IRepositoryManager.stop()

      System.exit(1);
    }

    ticketService.reindex();
    ticketService.stop();
    repositoryManager.stop();
    runtimeManager.stop();
  }

  /**
   * Parameters.
 
View Full Code Here

Examples of com.gitblit.manager.IRuntimeManager.stop()

    }

    ticketService.reindex();
    ticketService.stop();
    repositoryManager.stop();
    runtimeManager.stop();
  }

  /**
   * Parameters.
   */
 
View Full Code Here

Examples of com.gitblit.tickets.ITicketService.stop()

      e.printStackTrace();
      System.exit(1);
    }

    ticketService.reindex();
    ticketService.stop();
    repositoryManager.stop();
    runtimeManager.stop();
  }

  /**
 
View Full Code Here

Examples of com.github.dreamhead.moco.runner.Runner.stop()

        runner.run();

        Runtime.getRuntime().addShutdownHook(new Thread() {
            @Override
            public void run() {
                runner.stop();
                stopwatch.stop();
                logger.info("Total time: " + stopwatch);
            }
        });
    }
View Full Code Here

Examples of com.github.searls.jasmine.server.ServerManager.stop()

      JasmineResult result = this.executeSpecs(new URL(this.uriScheme+"://" + this.serverHostname + ":" + port));
      this.logResults(result);
      this.throwAnySpecFailures(result);
    } finally {
      if (!keepServerAlive) {
        serverManager.stop();
      }
    }
  }

  private ServerManager getServerManager() throws MojoExecutionException {
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.