com.codahale.metrics.annotation.Gauge.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(3.8k)|赞(0)|评价(0)|浏览(154)

本文整理了Java中com.codahale.metrics.annotation.Gauge.<init>()方法的一些代码示例,展示了Gauge.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Gauge.<init>()方法的具体详情如下:
包路径:com.codahale.metrics.annotation.Gauge
类名称:Gauge
方法名:<init>

Gauge.<init>介绍

暂无

代码示例

代码示例来源:origin: stagemonitor/stagemonitor

@Gauge(name = "myGaugeNameAbsolute", absolute = true)
  public void gaugeNameAbsolute() {
  }
}

代码示例来源:origin: stagemonitor/stagemonitor

@Gauge
public static int staticGaugeDefault() {
  return 1;
}

代码示例来源:origin: stagemonitor/stagemonitor

@Gauge(absolute = true)
public void gaugeAbsolute() {
}

代码示例来源:origin: stagemonitor/stagemonitor

@Gauge
private int gaugeDefault() {
  return 1;
}

代码示例来源:origin: stagemonitor/stagemonitor

@Gauge(name = "myGaugeName")
public void gaugeName() {
}

代码示例来源:origin: io.astefanutti.metrics.aspectj/metrics-aspectj-se

@Gauge(name = "singleGaugeMethod")
public long getSingleGauge() {
  return singleGauge;
}

代码示例来源:origin: io.astefanutti.metrics.aspectj/metrics-aspectj-se

@Gauge(name = "packagePrivateGaugeMethod")
long getPackagePrivateGauge() {
  return packagePrivateGauge;
}

代码示例来源:origin: org.stefanutti.metrics.aspectj/metrics-aspectj-se

@Gauge(name = "packagePrivateGaugeMethod")
long getPackagePrivateGauge() {
  return packagePrivateGauge;
}

代码示例来源:origin: org.stefanutti.metrics.aspectj/metrics-aspectj-se

@Gauge(name = "publicGaugeMethod")
public long getPublicGaugeMethod() {
  return publicGauge;
}

代码示例来源:origin: io.astefanutti.metrics.aspectj/metrics-aspectj-se

@Gauge(name = "publicGaugeMethod")
public long getPublicGaugeMethod() {
  return publicGauge;
}

代码示例来源:origin: org.stefanutti.metrics.aspectj/metrics-aspectj-se

@Gauge(name = "protectedGaugeMethod")
protected long getProtectedGauge() {
  return protectedGauge;
}

代码示例来源:origin: palominolabs/metrics-guice

@Gauge
  public String justAGaugeFromParent() {
    return "justAGaugeFromParent";
  }
}

代码示例来源:origin: palominolabs/metrics-guice

@Gauge(name = "gaugePrivate")
  private String gaugePrivate() {
    return "gaugePrivate";
  }
}

代码示例来源:origin: io.astefanutti.metrics.aspectj/metrics-aspectj-se

@ExceptionMetered(name = "exception")
  @Gauge(name = "gauge")
  @Metered(name = "meter")
  @Timed(name = "timer")
  public static String metricsMethod() {
    return "value";
  }
}

代码示例来源:origin: io.astefanutti.metrics.aspectj/metrics-aspectj-se

@ExceptionMetered(name = "exception")
  @Gauge(name = "gauge")
  @Metered(name = "meter")
  @Timed(name = "timer")
  public String metricsMethod() {
    return "value";
  }
}

代码示例来源:origin: astefanutti/metrics-aspectj

@ExceptionMetered(name = "exception")
@Gauge(name = "gauge")
@Metered(name = "meter")
@Timed(name = "timer")
public String metricsMethod() {
  return "value";
}

代码示例来源:origin: org.stefanutti.metrics.aspectj/metrics-aspectj-se

@ExceptionMetered(name = "exception")
  @Gauge(name = "gauge")
  @Metered(name = "meter")
  @Timed(name = "timer")
  public String metricsMethod() {
    return "value";
  }
}

代码示例来源:origin: astefanutti/metrics-aspectj

@ExceptionMetered(name = "exception")
  @Gauge(name = "gauge")
  @Metered(name = "meter")
  @Timed(name = "timer")
  public String metricsMethod() {
    return "value";
  }
}

代码示例来源:origin: org.stefanutti.metrics.aspectj/metrics-aspectj-se

@ExceptionMetered(name = "exception")
  @Gauge(name = "gauge")
  @Metered(name = "meter")
  @Timed(name = "timer")
  public static String metricsMethod() {
    return "value";
  }
}

代码示例来源:origin: astefanutti/metrics-cdi

@Counted(name = "counter", monotonic = true)
  @ExceptionMetered(name = "exception")
  @Gauge(name = "gauge")
  @Metered(name = "meter")
  @Timed(name = "timer")
  public String metricsMethod() {
    return "value";
  }
}

相关文章