public interface MetadataStatisticsMBean extends MetricsMBean
Modifier and Type | Method and Description |
---|---|
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. |
clearStatistics, getNumberOfTimeSlices, getTimeSliceDurationSeconds
getParentId, getParentObjectName
createObjectName, registerMBean, unregisterMBean
java.util.List<MetadataStatistic> getStatistics() throws CoreException
CoreException
java.util.List<MetadataStatistic> getStatistics(int fromIndex, int toIndex) throws CoreException
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.
fromIndex
- toIndex
- CoreException