public interface AppUsageStatisticsClient
| Modifier and Type | Method and Description |
|---|---|
List<AppResponseFaultCountDTO> |
getAppFaultyAnalyzeByTime(String providerName)
Returns list of AppResponseFaultCountDTO objects related to a particular fault.
|
List<AppHitsStatsDTO> |
getAppHitsOverTime(String fromDate,
String toDate,
int tenantId)
Get no of app hits over time.
|
List<AppResponseFaultCountDTO> |
getAppResponseFaultCount(String providerName,
String fromDate,
String toDate)
Returns list of AppResponseFaultCountDTO objects related to a particular fault.
|
List<AppPageUsageDTO> |
getAppUsageByPage(String providerName,
String fromDate,
String toDate,
String tenantDomainName)
Returns a list of AppPageUsageDTO objects that contain information related to a
particular WebApp of a specified provider, along with the number of WebApp calls processed
by each resource page of that WebApp.
|
List<AppResourcePathUsageDTO> |
getAppUsageByResourcePath(String providerName,
String fromDate,
String toDate)
Returns a list of AppResourcePathUsageDTO objects that contain information related to a
particular WebApp of a specified provider, along with the number of WebApp calls processed
by each resource path of that WebApp.
|
List<AppUsageByUserDTO> |
getAppUsageByUser(String providerName,
String fromDate,
String toDate,
String tenantDomainName)
Returns a list of AppUsageByUserDTO objects that contain information related to
User wise WebApp Usage, along with the number of invocations, and WebApp Version
|
List<String> |
getFirstAccessTime(String providerName,
int limit)
Returns list of String.
|
List<AppVersionLastAccessTimeDTO> |
getLastAccessTimesByApps(String providerName,
String fromDate,
String toDate,
int limit,
String tenantDomainName)
Returns a list of AppVersionLastAccessTimeDTO objects for all the APIs belonging to the
specified provider.
|
List<AppResponseTimeDTO> |
getResponseTimesByApps(String providerName,
String fromDate,
String toDate,
int limit,
String tenantDomain)
Gets a list of AppResponseTimeDTO objects containing information related to Apps belonging
to a particular provider along with their average response times.
|
List<AppUsageDTO> |
getUsageByApps(String providerName,
String fromDate,
String toDate,
int limit,
String tenantDomainName)
Returns a list of AppUsageDTO objects that contain information related to Apps that
belong to a particular provider and the number of total WebApp calls each WebApp has processed
up to now.
|
List<AppVersionUsageDTO> |
getUsageByAppVersions(String providerName,
String apiName)
Returns a list of AppVersionUsageDTO objects that contain information related to a
particular WebApp of a specified provider, along with the number of WebApp calls processed
by each version of that WebApp.
|
List<AppVersionUsageDTO> |
getUsageByAppVersions(String providerName,
String apiName,
String fromDate,
String toDate)
Returns a list of AppVersionUsageDTO objects that contain information related to a
particular WebApp of a specified provider, along with the number of WebApp calls processed
by each version of that WebApp for a particular time preriod.
|
List<AppVersionUserUsageDTO> |
getUsageBySubscriber(String subscriberName,
String period)
Returns list of AppVersionUserUsageDTO objects related to a particular subscriber.
|
List<PerUserAPIUsageDTO> |
getUsageBySubscribers(String providerName,
String apiName,
int limit)
Returns a sorted list of PerUserAPIUsageDTO objects related to a particular WebApp.
|
List<PerUserAPIUsageDTO> |
getUsageBySubscribers(String providerName,
String apiName,
String apiVersion,
int limit)
Returns list of PerUserAPIUsageDTO objects related to a particular provider.
|
void |
initialize(String username) |
void initialize(String username) throws AppUsageQueryServiceClientException
List<AppUsageDTO> getUsageByApps(String providerName, String fromDate, String toDate, int limit, String tenantDomainName) throws AppUsageQueryServiceClientException
providerName - Name of the WebApp providerfromDate - toDate - limit - Number of entries to returntenantDomainName - AppUsageQueryServiceClientException - if an error occurs while contacting backend servicesList<AppVersionUsageDTO> getUsageByAppVersions(String providerName, String apiName) throws AppUsageQueryServiceClientException
providerName - Name of the WebApp providerapiName - Name of th WebAppAppUsageQueryServiceClientException - on errorList<AppVersionUsageDTO> getUsageByAppVersions(String providerName, String apiName, String fromDate, String toDate) throws AppUsageQueryServiceClientException
providerName - apiName - fromDate - toDate - AppUsageQueryServiceClientExceptionList<AppResourcePathUsageDTO> getAppUsageByResourcePath(String providerName, String fromDate, String toDate) throws AppUsageQueryServiceClientException
providerName - Name of the WebApp providerfromDate - toDate - AppUsageQueryServiceClientException - on errorList<AppPageUsageDTO> getAppUsageByPage(String providerName, String fromDate, String toDate, String tenantDomainName) throws AppUsageQueryServiceClientException
providerName - Name of the WebApp providerfromDate - toDate - tenantDomainName - AppUsageQueryServiceClientException - on errorList<AppUsageByUserDTO> getAppUsageByUser(String providerName, String fromDate, String toDate, String tenantDomainName) throws AppUsageQueryServiceClientException
providerName - Name of the WebApp providerfromDate - toDate - tenantDomainName - AppUsageQueryServiceClientException - on errorList<AppHitsStatsDTO> getAppHitsOverTime(String fromDate, String toDate, int tenantId) throws AppUsageQueryServiceClientException
fromDate - String.toDate - String.tenantId - int.AppUsageQueryServiceClientExceptionList<AppResponseTimeDTO> getResponseTimesByApps(String providerName, String fromDate, String toDate, int limit, String tenantDomain) throws AppUsageQueryServiceClientException
providerName - Name of the WebApp providerfromDate - toDate - limit - Number of entries to returntenantDomain - AppUsageQueryServiceClientException - on errorList<AppVersionLastAccessTimeDTO> getLastAccessTimesByApps(String providerName, String fromDate, String toDate, int limit, String tenantDomainName) throws AppUsageQueryServiceClientException
providerName - Name of the WebApp providerfromDate - toDate - limit - Number of entries to returntenantDomainName - AppUsageQueryServiceClientException - on errorList<PerUserAPIUsageDTO> getUsageBySubscribers(String providerName, String apiName, int limit) throws AppUsageQueryServiceClientException
providerName - WebApp provider nameapiName - Name of the WebApplimit - Number of sorted entries to returnAppUsageQueryServiceClientException - on errorList<AppResponseFaultCountDTO> getAppResponseFaultCount(String providerName, String fromDate, String toDate) throws AppUsageQueryServiceClientException
providerName - WebApp provider namefromDate - toDate - AppUsageQueryServiceClientException - on errorList<AppResponseFaultCountDTO> getAppFaultyAnalyzeByTime(String providerName) throws AppUsageQueryServiceClientException
providerName - WebApp provider nameAppUsageQueryServiceClientException - on errorList<PerUserAPIUsageDTO> getUsageBySubscribers(String providerName, String apiName, String apiVersion, int limit) throws AppUsageQueryServiceClientException
providerName - WebApp provider nameapiName - apiVersion - limit - AppUsageQueryServiceClientException - on errorList<AppVersionUserUsageDTO> getUsageBySubscriber(String subscriberName, String period) throws Exception
subscriberName - period - AppUsageQueryServiceClientException - on errorExceptionList<String> getFirstAccessTime(String providerName, int limit) throws AppUsageQueryServiceClientException
providerName - limit - AppUsageQueryServiceClientException - on errorCopyright © 2017 WSO2. All rights reserved.