public interface StatisticsServiceMBean
Modifier and Type | Method and Description |
---|---|
void |
deleteCountsBefore(java.lang.String dateTime)
Deletes statistics prior to the date-times described.
|
java.util.Map<java.lang.String,java.lang.Long> |
retrieveAllAggregatedCurrentCounts()
Retrieves all aggregated current counts, i.e.
|
java.util.Map<StatsCollectionInfo,java.util.Map<java.lang.String,java.lang.Long>> |
retrieveAllCountsBetween(java.lang.String fromDateTime,
java.lang.String toDateTime,
java.lang.String serverName)
Retrieves statistics collection info counts where the collection period
began between the date-times described, optionally filtered by server.
|
java.util.Map<MonitoringGroup,java.util.List<java.util.Map<java.lang.String,java.lang.Long>>> |
retrieveAllCurrentCounts()
Retrieves all current counts, grouped by MonitoringGroup.
|
java.util.Map<StatsCollectionInfo,java.util.Map<java.lang.String,java.lang.Long>> |
retrieveBundleCountsBetween(java.lang.String bundleName,
java.lang.String fromDateTime,
java.lang.String toDateTime,
java.lang.String serverName)
Retrieves statistics collection info counts where the collection period
began between the date-times described, filtered by bundle and optionally
server.
|
java.util.Map<MonitoringGroup,java.util.List<java.util.Map<java.lang.String,java.lang.Long>>> |
retrieveBundleCurrentCounts(java.lang.String bundleName)
Retrieves current counts, grouped by MonitoringGroup, filtered by
bundleName.
|
CollectionPeriodInfo |
retrieveCurrentCollectionPeriodInfo()
Retrieves collection period info for the current collection period.
|
java.util.List<MonitoringGroup> |
retrieveMonitoringGroups()
Lists all monitoring groups.
|
java.util.List<MonitoringGroup> retrieveMonitoringGroups()
java.util.Map<MonitoringGroup,java.util.List<java.util.Map<java.lang.String,java.lang.Long>>> retrieveAllCurrentCounts()
java.util.Map<MonitoringGroup,java.util.List<java.util.Map<java.lang.String,java.lang.Long>>> retrieveBundleCurrentCounts(java.lang.String bundleName)
bundleName
- the name required of MonitoringGroup's bundlejava.util.Map<StatsCollectionInfo,java.util.Map<java.lang.String,java.lang.Long>> retrieveAllCountsBetween(java.lang.String fromDateTime, java.lang.String toDateTime, java.lang.String serverName) throws java.text.ParseException
fromDateTime
- Date-time string after which earliest
collection period would have started, inclusive, yyyy-MM-dd HH:mm format.toDateTime
- Date-time string before which latest
collection period would have started, exclusive, yyyy-MM-dd HH:mm format.serverName
- (optional) name of server on which stats were collectedjava.text.ParseException
- if either date-time string has invalid syntaxjava.util.Map<StatsCollectionInfo,java.util.Map<java.lang.String,java.lang.Long>> retrieveBundleCountsBetween(java.lang.String bundleName, java.lang.String fromDateTime, java.lang.String toDateTime, java.lang.String serverName) throws java.text.ParseException
bundleName
- the name required of MonitoringGroup's bundlefromDateTime
- Date-time string after which earliest
collection period would have started, inclusive, yyyy-MM-dd HH:mm format.toDateTime
- Date-time string before which latest
collection period would have started, exclusive, yyyy-MM-dd HH:mm format.serverName
- the (optional) name of server on which stats were
collectedjava.text.ParseException
- if either date-time string has invalid syntaxvoid deleteCountsBefore(java.lang.String dateTime) throws java.text.ParseException
dateTime
- Date-time string before which collection
period statistics should be deleted, inclusive, yyyy-MM-dd HH:mm format.java.text.ParseException
- if the date-time string has invalid syntaxjava.util.Map<java.lang.String,java.lang.Long> retrieveAllAggregatedCurrentCounts()
CollectionPeriodInfo retrieveCurrentCollectionPeriodInfo()