use of io.vertx.up.micro.center.ZeroRegistry in project vertx-zero by silentbalanceyh.
the class ZeroHttpAgent method stop.
@Override
public void stop() {
Fn.itMap(ZeroAtomic.HTTP_OPTS, (port, config) -> {
// Enabled micro mode.
if (EtcdData.enabled()) {
// Template call registry to modify the status of current service.
final ZeroRegistry registry = ZeroRegistry.create(this.getClass());
registry.registryHttp(SERVICES.get(port), config, Etat.STOPPED);
}
});
}
Aggregations