io.reactivex.netty.protocol.http.server.HttpServer.shutdown()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(2.4k)|赞(0)|评价(0)|浏览(103)

本文整理了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

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;
}

相关文章