io.vertx.up.uca.monitor.MeansureAxis Maven / Gradle / Ivy
package io.vertx.up.uca.monitor;
import io.vertx.core.Vertx;
import io.vertx.ext.web.Router;
import io.vertx.up.uca.rs.Axis;
public class MeansureAxis implements Axis {
private transient final Axis axiser;
public MeansureAxis(final Vertx vertx, final boolean isGateway) {
if (isGateway) {
this.axiser = new GatewayAxis(vertx);
} else {
this.axiser = new ServiceAxis(vertx);
}
}
@Override
public void mount(final Router router) {
this.axiser.mount(router);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy