本文整理了Java中org.eclipse.jetty.server.Server.setDumpBeforeStop()
方法的一些代码示例,展示了Server.setDumpBeforeStop()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Server.setDumpBeforeStop()
方法的具体详情如下:
包路径:org.eclipse.jetty.server.Server
类名称:Server
方法名:setDumpBeforeStop
暂无
代码示例来源:origin: com.azaptree/azaptree-http-service
private void configureServer(final HttpServiceConfig config) {
server.addConnector(createSelectChannelConnector(config));
server.setThreadPool(new ExecutorThreadPoolWithGracefulShutdown(config.getRequestExcecutor(), config.getGracefulShutdownTimeoutSecs()));
if (config.getGracefulShutdownTimeoutSecs() > 0) {
server.setGracefulShutdown(1);
}
final HandlerList handlerList = new HandlerList();
handlerList.setHandlers(new Handler[] { config.getHttpRequestHandler(), new DefaultHandler() });
server.setHandler(handlerList);
server.setDumpAfterStart(true);
server.setDumpBeforeStop(true);
}
代码示例来源:origin: io.gravitee.standalone/gravitee-standalone-container
server.setDumpBeforeStop(false);
server.setStopAtShutdown(true);
代码示例来源:origin: com.jfinal/jetty-server
server.setDumpBeforeStop(false);
代码示例来源:origin: enioka/jqm
server.setDumpBeforeStop(false);
server.setStopAtShutdown(true);
代码示例来源:origin: nutzam/nutz-web
server.setDumpBeforeStop(false);
server.setStopAtShutdown(true);
代码示例来源:origin: nutzam/nutzboot
server.setDumpBeforeStop(false);
server.setStopAtShutdown(true);
代码示例来源:origin: gravitee-io/gravitee-management-rest-api
server.setDumpBeforeStop(false);
server.setStopAtShutdown(true);
代码示例来源:origin: gravitee-io/graviteeio-access-management
server.setDumpBeforeStop(false);
server.setStopAtShutdown(true);
代码示例来源:origin: io.gravitee.am.gateway/gravitee-am-gateway-jetty
server.setDumpBeforeStop(false);
server.setStopAtShutdown(true);
代码示例来源:origin: io.gravitee.am.management/gravitee-am-management-api-jetty
server.setDumpBeforeStop(false);
server.setStopAtShutdown(true);
内容来源于网络,如有侵权,请联系作者删除!