Package com.adaptris.profiler.jmx
Class TimedThroughputMetric
- java.lang.Object
-
- com.adaptris.profiler.jmx.TimedThroughputMetric
-
- All Implemented Interfaces:
TimedThroughputMetricMBean
public class TimedThroughputMetric extends java.lang.Object implements TimedThroughputMetricMBean
-
-
Constructor Summary
Constructors Constructor Description TimedThroughputMetric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToAverageNanoseconds(long nanoseconds)
void
addToFailedMessageCount()
void
addToMessageCount()
long
getAverageNanoseconds()
long
getFailedMessageCount()
long
getMessageCount()
java.lang.String
getUniqueId()
java.lang.String
getWorkflowId()
void
setFailedMessageCount(long failedMessageCount)
void
setMessageCount(long messageCount)
void
setUniqueId(java.lang.String uniqueId)
void
setWorkflowId(java.lang.String workflowId)
-
-
-
Method Detail
-
addToMessageCount
public void addToMessageCount()
- Specified by:
addToMessageCount
in interfaceTimedThroughputMetricMBean
-
addToFailedMessageCount
public void addToFailedMessageCount()
- Specified by:
addToFailedMessageCount
in interfaceTimedThroughputMetricMBean
-
addToAverageNanoseconds
public void addToAverageNanoseconds(long nanoseconds)
- Specified by:
addToAverageNanoseconds
in interfaceTimedThroughputMetricMBean
-
getAverageNanoseconds
public long getAverageNanoseconds()
- Specified by:
getAverageNanoseconds
in interfaceTimedThroughputMetricMBean
-
getUniqueId
public java.lang.String getUniqueId()
- Specified by:
getUniqueId
in interfaceTimedThroughputMetricMBean
-
setUniqueId
public void setUniqueId(java.lang.String uniqueId)
- Specified by:
setUniqueId
in interfaceTimedThroughputMetricMBean
-
getWorkflowId
public java.lang.String getWorkflowId()
- Specified by:
getWorkflowId
in interfaceTimedThroughputMetricMBean
-
setWorkflowId
public void setWorkflowId(java.lang.String workflowId)
- Specified by:
setWorkflowId
in interfaceTimedThroughputMetricMBean
-
getMessageCount
public long getMessageCount()
- Specified by:
getMessageCount
in interfaceTimedThroughputMetricMBean
-
getFailedMessageCount
public long getFailedMessageCount()
- Specified by:
getFailedMessageCount
in interfaceTimedThroughputMetricMBean
-
setMessageCount
public void setMessageCount(long messageCount)
-
setFailedMessageCount
public void setFailedMessageCount(long failedMessageCount)
-
-