本文整理了Java中com.codahale.metrics.annotation.Gauge.<init>()
方法的一些代码示例,展示了Gauge.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Gauge.<init>()
方法的具体详情如下:
包路径:com.codahale.metrics.annotation.Gauge
类名称: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";
}
}
内容来源于网络,如有侵权,请联系作者删除!