public interface StatisticsReader
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SYSTEM_GROUP
The group under which are all of the system statistics.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete(java.lang.String groupFilter,
java.lang.String nameFilter,
java.lang.String sourceTypeFilter,
java.lang.String sourceNameFilter,
java.lang.String hostId)
Delete information for the statistics that match the filter.
|
Statistic |
getStatistic(java.lang.String group,
java.lang.String name,
java.lang.String hostIds)
Returns the statistic with name matching name found on hosts with id matching host ids.
|
java.lang.String[] |
getStatisticGroups(java.lang.String hostIds)
Returns the group names of all statistics found on host with the given id.
|
java.lang.String[] |
getStatisticNames(java.lang.String group,
java.lang.String hostId)
Returns the names of all statistics with matching group name found on hosts with the given id.
|
Enumerator<Source,ManagementException> |
listSources(java.lang.String groupFilter,
java.lang.String nameFilter,
java.lang.String sourceTypeFilter,
java.lang.String sourceNameFilter,
java.lang.String hostId)
List all sources found for the given source filter.
|
Enumerator<java.lang.String,ManagementException> |
listSourceTypes(java.lang.String groupFilter,
java.lang.String nameFilter,
java.lang.String sourceTypeFilter,
java.lang.String hostId)
Returns list of filtered source types.
|
Enumerator<Statistic,ManagementException> |
listStatistics(java.lang.String hostId)
List all statistics found on host with the given id.
|
Enumerator<Statistic,ManagementException> |
listStatistics(java.lang.String groupFilter,
java.lang.String nameFilter,
java.lang.String sourceTypeFilter,
java.lang.String sourceNameFilter,
java.lang.String hostId)
List all statistics found for the given filter.
|
static final java.lang.String SYSTEM_GROUP
Enumerator<Statistic,ManagementException> listStatistics(java.lang.String hostId) throws ManagementException
hostId - host id. null stands for all hosts.Statistic elements.ManagementExceptionEnumerator<Statistic,ManagementException> listStatistics(java.lang.String groupFilter, java.lang.String nameFilter, java.lang.String sourceTypeFilter, java.lang.String sourceNameFilter, java.lang.String hostId) throws ManagementException
groupFilter - optional wild card filter for the statistics group.nameFilter - optional wild card filter for the statistics name.sourceTypeFilter - optional wild card filter for the source type.sourceNameFilter - optional wild card filter for the source name.hostId - host id. null stands for all hosts.Statistic elements.ManagementExceptionEnumerator<java.lang.String,ManagementException> listSourceTypes(java.lang.String groupFilter, java.lang.String nameFilter, java.lang.String sourceTypeFilter, java.lang.String hostId) throws ManagementException
sourceTypeFilter - wild card source type filter.hostId - host id this statistic is collected on. null stands for all hosts.ManagementExceptionEnumerator<Source,ManagementException> listSources(java.lang.String groupFilter, java.lang.String nameFilter, java.lang.String sourceTypeFilter, java.lang.String sourceNameFilter, java.lang.String hostId) throws ManagementException
groupFilter - optional wild card filter for the statistics group.sourceTypeFilter - optional wild card filter for the source type.sourceNameFilter - optional wild card filter for the source name.hostId - host id. null stands for all hosts.Source elements.ManagementExceptionjava.lang.String[] getStatisticGroups(java.lang.String hostIds)
throws ManagementException
hostId - host id. null stands for all hosts.ManagementExceptionjava.lang.String[] getStatisticNames(java.lang.String group,
java.lang.String hostId)
throws ManagementException
group - if group is null the parameter is not taken in account and all names are returned.hostId - host id. null stands for all hosts.ManagementExceptionStatistic getStatistic(java.lang.String group, java.lang.String name, java.lang.String hostIds) throws ManagementException
group - the group of the statisticsname - statistics with matching name will be returned.hostId - host id this statistic is collected on. null stands for all hosts.hostIds.ManagementExceptionvoid delete(java.lang.String groupFilter,
java.lang.String nameFilter,
java.lang.String sourceTypeFilter,
java.lang.String sourceNameFilter,
java.lang.String hostId)
throws ManagementException
groupFilter - optional wild card filter for the statistics group.sourceTypeFilter - optional wild card filter for the source type.sourceNameFilter - optional wild card filter for the source name.hostId - host id. null stands for all hosts.ManagementExceptionCopyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.