public interface ConfigurationService
| Modifier and Type | Method and Description |
|---|---|
BusinessTxnConfig |
getBusinessTransaction(String tenantId,
String name)
This method retrieves a business transaction configuration.
|
Map<String,BusinessTxnConfig> |
getBusinessTransactions(String tenantId,
long updated)
This method retrieves the list of valid business transaction configurations updated
after the specified time.
|
List<BusinessTxnSummary> |
getBusinessTransactionSummaries(String tenantId)
This method retrieves the list of business transaction summaries (regardless of whether
the current business transaction config is valid).
|
CollectorConfiguration |
getCollector(String tenantId,
String host,
String server)
This method returns the collector configuration, used by the
collector within an execution environment to instrument and filter
information to be reported to the server, based on the optional
host and server names.
|
void |
removeBusinessTransaction(String tenantId,
String name)
This method removes a business transaction configuration.
|
List<ConfigMessage> |
updateBusinessTransaction(String tenantId,
String name,
BusinessTxnConfig config)
This method adds (if does not exist) or updates (if exists) a business transaction
configuration.
|
List<ConfigMessage> |
validateBusinessTransaction(BusinessTxnConfig config)
This method validates the supplied business transaction configuration.
|
CollectorConfiguration getCollector(String tenantId, String host, String server)
tenantId - The optional tenant idhost - The optional host nameserver - The optional server nameList<ConfigMessage> updateBusinessTransaction(String tenantId, String name, BusinessTxnConfig config) throws Exception
tenantId - The optional tenant idname - The business transaction nameconfig - The configurationException - Failed to perform updateList<ConfigMessage> validateBusinessTransaction(BusinessTxnConfig config)
config - The configurationBusinessTxnConfig getBusinessTransaction(String tenantId, String name)
tenantId - The optional tenant idname - The business transaction nameMap<String,BusinessTxnConfig> getBusinessTransactions(String tenantId, long updated)
tenantId - The optional tenant idupdated - The updated time, or 0 to return allList<BusinessTxnSummary> getBusinessTransactionSummaries(String tenantId)
tenantId - The optional tenant idCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.