public class MessageMetricsStatistics extends ChildRuntimeInfoComponentImpl implements MessageMetricsStatisticsMBean
log
Modifier | Constructor and Description |
---|---|
protected |
MessageMetricsStatistics(WorkflowManager owner,
MessageMetricsInterceptorImpl interceptor) |
Modifier and Type | Method and Description |
---|---|
void |
clearStatistics()
Clear any statistics held in this MBean.
|
int |
getNumberOfTimeSlices()
Get the current number of timeslices stored.
|
ParentRuntimeInfoComponent |
getParentRuntimeInfoComponent() |
java.util.List<MessageStatistic> |
getStatistics()
Get all the statistics hosted by this management bean.
|
java.util.List<MessageStatistic> |
getStatistics(int fromIndex,
int toIndex)
Returns a view of the portion of this list between the specified
fromIndex , inclusive,
and toIndex , exclusive. |
int |
getTimeSliceDurationSeconds()
Get the duration of each timeslice.
|
java.lang.String |
getTotalStringStats()
Get a simple string representation of stats.
|
protected java.lang.String |
getType() |
protected java.lang.String |
uniqueId() |
createObjectName, getParentId, getParentObjectName, registerMBean, unregisterMBean
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParentId, getParentObjectName
createObjectName, registerMBean, unregisterMBean
protected MessageMetricsStatistics(WorkflowManager owner, MessageMetricsInterceptorImpl interceptor)
protected java.lang.String getType()
getType
in class ChildRuntimeInfoComponentImpl
protected java.lang.String uniqueId()
uniqueId
in class ChildRuntimeInfoComponentImpl
public int getNumberOfTimeSlices()
MetricsMBean
getNumberOfTimeSlices
in interface MetricsMBean
public int getTimeSliceDurationSeconds()
MetricsMBean
getTimeSliceDurationSeconds
in interface MetricsMBean
public java.lang.String getTotalStringStats()
MessageMetricsStatisticsMBean
getTotalStringStats
in interface MessageMetricsStatisticsMBean
public ParentRuntimeInfoComponent getParentRuntimeInfoComponent()
getParentRuntimeInfoComponent
in interface ChildRuntimeInfoComponent
public java.util.List<MessageStatistic> getStatistics() throws CoreException
MessageMetricsStatisticsMBean
getStatistics
in interface MessageMetricsStatisticsMBean
CoreException
public java.util.List<MessageStatistic> getStatistics(int fromIndex, int toIndex) throws CoreException
MessageMetricsStatisticsMBean
fromIndex
, inclusive,
and toIndex
, exclusive.
Although similar to List.subList(int, int)
; it is designed to return you a copy of the
list in question; any changes to the returned list will not be reflected in the underlying
list.
getStatistics
in interface MessageMetricsStatisticsMBean
CoreException
public void clearStatistics() throws CoreException
MetricsMBean
clearStatistics
in interface MetricsMBean
CoreException