public class MetadataStatistics extends ChildRuntimeInfoComponentImpl implements MetadataStatisticsMBean
log
Modifier | Constructor and Description |
---|---|
protected |
MetadataStatistics(WorkflowManager owner,
MetadataMetricsInterceptorImpl 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<MetadataStatistic> |
getStatistics()
Get all the statistics hosted by this management bean.
|
java.util.List<MetadataStatistic> |
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.
|
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 MetadataStatistics(WorkflowManager owner, MetadataMetricsInterceptorImpl interceptor)
protected java.lang.String getType()
getType
in class ChildRuntimeInfoComponentImpl
protected java.lang.String uniqueId()
uniqueId
in class ChildRuntimeInfoComponentImpl
public ParentRuntimeInfoComponent getParentRuntimeInfoComponent()
getParentRuntimeInfoComponent
in interface ChildRuntimeInfoComponent
public int getNumberOfTimeSlices()
MetricsMBean
getNumberOfTimeSlices
in interface MetricsMBean
public int getTimeSliceDurationSeconds()
MetricsMBean
getTimeSliceDurationSeconds
in interface MetricsMBean
public java.util.List<MetadataStatistic> getStatistics() throws CoreException
MetadataStatisticsMBean
getStatistics
in interface MetadataStatisticsMBean
CoreException
public java.util.List<MetadataStatistic> getStatistics(int fromIndex, int toIndex) throws CoreException
MetadataStatisticsMBean
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 MetadataStatisticsMBean
CoreException
public void clearStatistics() throws CoreException
MetricsMBean
clearStatistics
in interface MetricsMBean
CoreException