Java Code Examples for org.springframework.jmx.support.MetricType#COUNTER

The following examples show how to use org.springframework.jmx.support.MetricType#COUNTER . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AnotherAnnotationTestBean.java    From spring-analysis-note with MIT License 4 votes vote down vote up
@ManagedMetric(description = "a metric", metricType = MetricType.COUNTER)
int getCacheEntries();
 
Example 2
Source File: AnnotationTestBean.java    From spring-analysis-note with MIT License 4 votes vote down vote up
@ManagedMetric(description="The QueueSize metric", currencyTimeLimit = 20, persistPolicy="OnUpdate", persistPeriod=300,
		category="utilization", metricType = MetricType.COUNTER, displayName="Queue Size", unit="messages")
public long getQueueSize() {
	return 100L;
}
 
Example 3
Source File: AnotherAnnotationTestBean.java    From java-technology-stack with MIT License 4 votes vote down vote up
@ManagedMetric(description = "a metric", metricType = MetricType.COUNTER)
int getCacheEntries();
 
Example 4
Source File: AnnotationTestBean.java    From java-technology-stack with MIT License 4 votes vote down vote up
@ManagedMetric(description="The QueueSize metric", currencyTimeLimit = 20, persistPolicy="OnUpdate", persistPeriod=300,
		category="utilization", metricType = MetricType.COUNTER, displayName="Queue Size", unit="messages")
public long getQueueSize() {
	return 100L;
}
 
Example 5
Source File: AnnotationTestBean.java    From spring4-understanding with Apache License 2.0 4 votes vote down vote up
@ManagedMetric(description="The QueueSize metric", currencyTimeLimit = 20, persistPolicy="OnUpdate", persistPeriod=300,
		category="utilization", metricType = MetricType.COUNTER, displayName="Queue Size", unit="messages")
public long getQueueSize() {
	return 100l;
}
 
Example 6
Source File: BratMetricsImpl.java    From webanno with Apache License 2.0 4 votes vote down vote up
@ManagedMetric(metricType = MetricType.COUNTER)
public long getFullRenderCount()
{
    return fullRenderCount;
}
 
Example 7
Source File: BratMetricsImpl.java    From webanno with Apache License 2.0 4 votes vote down vote up
@ManagedMetric(metricType = MetricType.COUNTER, unit = "chars")
public long getFullRenderedSize()
{
    return fullRenderedSize;
}
 
Example 8
Source File: BratMetricsImpl.java    From webanno with Apache License 2.0 4 votes vote down vote up
@ManagedMetric(metricType = MetricType.COUNTER)
public long getDiffRenderAttempts()
{
    return diffRenderAttempts;
}
 
Example 9
Source File: BratMetricsImpl.java    From webanno with Apache License 2.0 4 votes vote down vote up
@ManagedMetric(metricType = MetricType.COUNTER)
public long getDiffRenderCount()
{
    return diffRenderCount;
}
 
Example 10
Source File: BratMetricsImpl.java    From webanno with Apache License 2.0 4 votes vote down vote up
@ManagedMetric(metricType = MetricType.COUNTER, unit = "chars")
public long getDiffRenderedSize()
{
    return diffRenderedSize;
}
 
Example 11
Source File: BratMetricsImpl.java    From webanno with Apache License 2.0 4 votes vote down vote up
@ManagedMetric(metricType = MetricType.COUNTER, unit = "chars")
public long getSavedRenderedSize()
{
    return savedRenderedSize;
}
 
Example 12
Source File: BratMetricsImpl.java    From webanno with Apache License 2.0 4 votes vote down vote up
@ManagedMetric(metricType = MetricType.COUNTER, unit = "ms")
public long getRenderTime()
{
    return renderTime;
}
 
Example 13
Source File: BratMetricsImpl.java    From webanno with Apache License 2.0 4 votes vote down vote up
@ManagedMetric(metricType = MetricType.COUNTER, unit = "ms")
public long getMaxRenderTime()
{
    return maxRenderTime;
}
 
Example 14
Source File: BratMetricsImpl.java    From webanno with Apache License 2.0 4 votes vote down vote up
@ManagedMetric(metricType = MetricType.COUNTER, unit = "ms")
public long getLastRenderTime()
{
    return lastRenderTime;
}
 
Example 15
Source File: BratMetricsImpl.java    From webanno with Apache License 2.0 4 votes vote down vote up
@ManagedMetric(metricType = MetricType.COUNTER, unit = "chars")
public long getSentRenderedSize()
{
    return sentRenderedSize;
}