public <T extends MetricRegistryInstance>T create(MetricRegistryConstructor<T> constructor,EndpointRegistration api){
  return create(constructor,null,api);
}

public < T extends MetricRegistryInstance > T create ( MetricRegistryConstructor < T > constructor , EndpointRegistration api ) { return create ( constructor , null , api ) ; }
creates a new metricregistryinstance .
