本文整理了Java中io.reactivex.netty.protocol.http.server.HttpServer.shutdown()
方法的一些代码示例,展示了HttpServer.shutdown()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。HttpServer.shutdown()
方法的具体详情如下:
包路径:io.reactivex.netty.protocol.http.server.HttpServer
类名称:HttpServer
方法名:shutdown
暂无
代码示例来源:origin: com.netflix.eureka2/eureka-test-utils
public void shutdown() throws InterruptedException {
if (server != null) {
server.shutdown();
}
}
代码示例来源:origin: com.netflix.eureka/eureka2-test-utils
public void stop() throws InterruptedException {
server.shutdown();
}
代码示例来源:origin: com.netflix.eureka2/eureka-dashboard
@PreDestroy
public void shutdown() throws InterruptedException {
if (server != null) {
server.shutdown();
}
}
}
代码示例来源:origin: com.netflix.eureka2/eureka-testkit
public void shutdown() {
try {
httpServer.shutdown();
} catch (InterruptedException e) {
logger.error("Shutdown failure", e);
}
}
代码示例来源:origin: com.netflix.eureka/eureka2-dashboard
@PreDestroy
public void shutdown() throws InterruptedException {
if (server != null) {
server.shutdown();
}
}
代码示例来源:origin: com.netflix.karyon/karyon2-governator
@PreDestroy
public void shutdown() throws InterruptedException {
if (httpServer != null) {
httpServer.shutdown();
}
}
代码示例来源:origin: com.netflix.karyon/karyon-governator
@PreDestroy
public void shutdown() throws InterruptedException {
if (httpServer != null) {
httpServer.shutdown();
}
}
代码示例来源:origin: mesosphere/mesos-rxjava
/**
* Shutdown the server
*
* @throws InterruptedException if the current thread is interrupted while waiting
*/
public void shutdown() throws InterruptedException {
started.compareAndSet(true, false);
server.shutdown();
}
代码示例来源:origin: com.netflix.karyon2/karyon-governator
@PreDestroy
public void shutdown() throws InterruptedException {
if (httpServer != null) {
httpServer.shutdown();
}
}
代码示例来源:origin: com.mesosphere.mesos.rx.java/mesos-rxjava-test
/**
* Shutdown the server
*
* @throws InterruptedException if the current thread is interrupted while waiting
*/
public void shutdown() throws InterruptedException {
started.compareAndSet(true, false);
server.shutdown();
}
代码示例来源:origin: com.netflix.eureka/eureka2-testkit
public void shutdown() {
try {
httpServer.shutdown();
} catch (InterruptedException e) {
logger.error("Shutdown failure", e);
}
}
代码示例来源:origin: org.springframework.cloud/spring-cloud-bus-turbine
@Override
public void stop() {
try {
aggregatorServer().shutdown();
} catch (InterruptedException e) {
log.error("Error shutting down", e);
}
running = false;
}
内容来源于网络,如有侵权,请联系作者删除!