All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.vertx.up.uca.monitor.MeansureAxis Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
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