Пример #1
0
 @OnBefore
 @Nullable
 public static MetricTimer onBefore() {
   if (metricEnabled) {
     return pluginServices.startMetricTimer(metricName);
   } else {
     return null;
   }
 }
Пример #2
0
 @OnBefore
 public static MetricTimer onBefore() {
   return pluginServices.startMetricTimer(metricName);
 }