io.github.zero88.msa.bp.micro.monitor.ServiceGatewayUsageMonitor Maven / Gradle / Ivy
package io.github.zero88.msa.bp.micro.monitor;
import io.github.zero88.msa.bp.micro.ServiceDiscoveryController;
import io.github.zero88.msa.bp.micro.monitor.ServiceGatewayMonitor.AbstractServiceGatewayMonitor;
import io.vertx.core.Vertx;
import io.vertx.core.eventbus.Message;
import lombok.Getter;
@Getter
public class ServiceGatewayUsageMonitor extends AbstractServiceGatewayMonitor {
protected ServiceGatewayUsageMonitor(Vertx vertx, ServiceDiscoveryController controller, String sharedKey) {
super(vertx, controller, sharedKey);
}
@SuppressWarnings("unchecked")
public static T create(Vertx vertx, ServiceDiscoveryController controller,
String sharedKey, String className) {
return (T) ServiceGatewayMonitor.create(vertx, controller, sharedKey, className,
ServiceGatewayUsageMonitor.class);
}
@Override
public void handle(Message
© 2015 - 2025 Weber Informatics LLC | Privacy Policy