public QoSHandler(final Vertx vertx,final ResourceStorage storage,final String qosSettingsPath,final Map<String,Object> properties,String prefix){
  this.vertx=vertx;
  this.storage=storage;
  this.qosSettingsUri=qosSettingsPath;
  this.properties=properties;
  this.prefix=prefix;
  qosRules=new ArrayList<>();
  setMBeanServer(ManagementFactory.getPlatformMBeanServer());
  loadQoSSettings();
  registerUpdateHandler();
}

public QoSHandler ( final Vertx vertx , final ResourceStorage storage , final String qosSettingsPath , final Map < String , Object > properties , String prefix ) { this . vertx = vertx ; this . storage = storage ; this . qosSettingsUri = qosSettingsPath ; this . properties = properties ; this . prefix = prefix ; qosRules = new ArrayList < > ( ) ; setMBeanServer ( ManagementFactory . getPlatformMBeanServer ( ) ) ; loadQoSSettings ( ) ; registerUpdateHandler ( ) ; }
creates a new instance of the qoshandler .
