示例#1
0
 public override IceMX.MetricsFailures[] getMapMetricsFailures(string viewName, string mapName, Ice.Current c)
 {
     lock (this)
     {
         MetricsViewI view = getMetricsView(viewName);
         if (view != null)
         {
             return(view.getFailures(mapName));
         }
         return(Array.Empty <IceMX.MetricsFailures>());
     }
 }
示例#2
0
 override public IceMX.MetricsFailures[] getMapMetricsFailures(string viewName, string mapName, Ice.Current c)
 {
     lock (this)
     {
         MetricsViewI view = getMetricsView(viewName);
         if (view != null)
         {
             return(view.getFailures(mapName));
         }
         return(new IceMX.MetricsFailures[0]);
     }
 }
示例#3
0
 public override IceMX.MetricsFailures getMetricsFailures(string viewName, string mapName, string id,
                                                          Ice.Current c)
 {
     lock (this)
     {
         MetricsViewI view = getMetricsView(viewName);
         if (view != null)
         {
             return(view.getFailures(mapName, id));
         }
         return(new IceMX.MetricsFailures());
     }
 }