Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- activate(ComponentContext) - Method in class org.wso2.carbon.usage.agent.internal.UsageAgentServiceComponent
-
method to activate UsageAgentServiceComponent
- addToPersistingControllerQueue(BandwidthUsage) - Static method in class org.wso2.carbon.usage.agent.util.Util
- addToQueue(BandwidthUsage) - Method in class org.wso2.carbon.usage.agent.persist.UsageDataPersistenceManager
-
this method add bandwidth usage entries to the jobQueue
- addUsage(String, String, long) - Method in class org.wso2.carbon.usage.agent.api.CustomMeteringAgent
-
Add a long value to the usage, if there were no previous entry, this will start with value 0
- addUsage(String, String, String, long) - Method in class org.wso2.carbon.usage.agent.services.CustomMeteringService
-
method to add usage entries
- APIManagerRequestStats - Class in org.wso2.carbon.usage.agent.beans
- APIManagerRequestStats() - Constructor for class org.wso2.carbon.usage.agent.beans.APIManagerRequestStats
- applyPolicy(Policy, AxisDescription) - Method in class org.wso2.carbon.usage.agent.listeners.axis2.RequestMeteringModule
B
- BAM_SERVER_STAT_FILTER - Static variable in class org.wso2.carbon.usage.agent.util.UsageAgentConstants
- BAM_SERVER_STAT_SERVICE - Static variable in class org.wso2.carbon.usage.agent.util.UsageAgentConstants
- BAM_SERVER_URL - Static variable in class org.wso2.carbon.usage.agent.util.UsageAgentConstants
- BANDWIDTH_CARBON - Static variable in class org.wso2.carbon.usage.agent.util.UsageAgentConstants
- BANDWIDTH_USAGE_SERVICES_CONTEXT - Static variable in class org.wso2.carbon.usage.agent.util.UsageAgentConstants
- BANDWIDTH_USAGE_TOPIC - Static variable in class org.wso2.carbon.usage.agent.util.UsageAgentConstants
- BANDWIDTH_USAGE_WEBAPPS_CONTEXT - Static variable in class org.wso2.carbon.usage.agent.util.UsageAgentConstants
- BandwidthPersistor - Class in org.wso2.carbon.usage.agent.persist
-
this class is used to store incoming and outgoing bandwidth
- BandwidthPersistor() - Constructor for class org.wso2.carbon.usage.agent.persist.BandwidthPersistor
- BandwidthUsage - Class in org.wso2.carbon.usage.agent.beans
-
the bean class for BandwidthUsage with attributes int tenant id, String measurement long value *
- BandwidthUsage(int, String, long) - Constructor for class org.wso2.carbon.usage.agent.beans.BandwidthUsage
- BandwidthUsageDataRetrievalTask - Class in org.wso2.carbon.usage.agent.persist
- BandwidthUsageDataRetrievalTask(UsageAgentConfiguration) - Constructor for class org.wso2.carbon.usage.agent.persist.BandwidthUsageDataRetrievalTask
C
- canSupportAssertion(Assertion) - Method in class org.wso2.carbon.usage.agent.listeners.axis2.RequestMeteringModule
- close() - Method in class org.wso2.carbon.usage.agent.util.MonitoredReader
- close() - Method in class org.wso2.carbon.usage.agent.util.MonitoredWriter
- createAsynDataPublisher() - Static method in class org.wso2.carbon.usage.agent.util.PublisherUtils
-
Creates an async data publisher using the existing data publisher object
- createDataPublisher() - Static method in class org.wso2.carbon.usage.agent.util.PublisherUtils
- createdConfigurationContext(ConfigurationContext) - Method in class org.wso2.carbon.usage.agent.listeners.UsageStatsAxis2ConfigurationContextObserver
- createStaticEventSubscription() - Static method in class org.wso2.carbon.usage.agent.util.Util
-
method to create static subscription to BAM
- CustomMeteringAgent - Class in org.wso2.carbon.usage.agent.api
-
CustomMeteringAgent is used to get recorded duration, to check whether usage entry exists, to persist and retrieve usage.
- CustomMeteringAgent(Registry) - Constructor for class org.wso2.carbon.usage.agent.api.CustomMeteringAgent
-
Constructor for the custom metering agent
- CustomMeteringService - Class in org.wso2.carbon.usage.agent.services
-
CustomMeteringService class defines methods to get recorded duration, to check whether usage entries exists, persist usage, retrieve usage and add usage.
- CustomMeteringService() - Constructor for class org.wso2.carbon.usage.agent.services.CustomMeteringService
D
- deactivate(ComponentContext) - Method in class org.wso2.carbon.usage.agent.internal.UsageAgentServiceComponent
-
method to deactivate bundle
- defineUsageEventStream() - Static method in class org.wso2.carbon.usage.agent.util.PublisherUtils
- delete(RequestContext) - Method in class org.wso2.carbon.usage.agent.listeners.RegistryUsageListener
- dump(RequestContext) - Method in class org.wso2.carbon.usage.agent.listeners.RegistryUsageListener
- dump(RequestContext) - Method in class org.wso2.carbon.usage.agent.listeners.RegistryUsagePersistingListener
E
- ELEMENT_NAME_DATA - Static variable in class org.wso2.carbon.usage.agent.util.UsageAgentConstants
- ELEMENT_NAME_KEY - Static variable in class org.wso2.carbon.usage.agent.util.UsageAgentConstants
- ELEMENT_NAME_VALUE - Static variable in class org.wso2.carbon.usage.agent.util.UsageAgentConstants
- engageNotify(AxisDescription) - Method in class org.wso2.carbon.usage.agent.listeners.axis2.RequestMeteringModule
- EVENT_NAME - Static variable in class org.wso2.carbon.usage.agent.util.UsageAgentConstants
F
- flush() - Method in class org.wso2.carbon.usage.agent.util.MonitoredWriter
G
- get(RequestContext) - Method in class org.wso2.carbon.usage.agent.listeners.RegistryUsageListener
- get(RequestContext) - Method in class org.wso2.carbon.usage.agent.listeners.RegistryUsagePersistingListener
- getConfigurationContextService() - Static method in class org.wso2.carbon.usage.agent.util.PublisherUtils
-
method to get configurationContextService
- getConfigurationContextService() - Static method in class org.wso2.carbon.usage.agent.util.Util
- getEventBrokerService() - Static method in class org.wso2.carbon.usage.agent.util.Util
- getFaultCount() - Method in class org.wso2.carbon.usage.agent.beans.APIManagerRequestStats
- getMeasurement() - Method in class org.wso2.carbon.usage.agent.beans.APIManagerRequestStats
- getMeasurement() - Method in class org.wso2.carbon.usage.agent.beans.BandwidthUsage
- getRealmService() - Static method in class org.wso2.carbon.usage.agent.util.Util
- getRecordedDurations(String) - Method in class org.wso2.carbon.usage.agent.api.CustomMeteringAgent
-
Get recorded durations
- getRecordedDurations(String) - Method in class org.wso2.carbon.usage.agent.services.CustomMeteringService
-
method to get recorded durations
- getRequestCount() - Method in class org.wso2.carbon.usage.agent.beans.APIManagerRequestStats
- getResponseCount() - Method in class org.wso2.carbon.usage.agent.beans.APIManagerRequestStats
- getResponseTime() - Method in class org.wso2.carbon.usage.agent.beans.APIManagerRequestStats
- getServerConfiguration() - Static method in class org.wso2.carbon.usage.agent.util.Util
- getServerUrl(int) - Static method in class org.wso2.carbon.usage.agent.util.PublisherUtils
- getSystemStatisticsUtil() - Static method in class org.wso2.carbon.usage.agent.util.Util
- getTenantId() - Method in class org.wso2.carbon.usage.agent.beans.APIManagerRequestStats
- getTenantId() - Method in class org.wso2.carbon.usage.agent.beans.BandwidthUsage
- getTenantId(String) - Static method in class org.wso2.carbon.usage.agent.util.Util
- getTotalRead() - Method in class org.wso2.carbon.usage.agent.util.MonitoredReader
- getTotalWritten() - Method in class org.wso2.carbon.usage.agent.util.MonitoredWriter
- getUsageTasksExecutionIntervalInMilliSeconds() - Method in class org.wso2.carbon.usage.agent.config.UsageAgentConfiguration
- getUsageTasksNumberOfRecordsPerExecution() - Method in class org.wso2.carbon.usage.agent.config.UsageAgentConfiguration
- getUsageTasksStartupDelayInMilliSeconds() - Method in class org.wso2.carbon.usage.agent.config.UsageAgentConfiguration
- getValue() - Method in class org.wso2.carbon.usage.agent.beans.APIManagerRequestStats
- getValue() - Method in class org.wso2.carbon.usage.agent.beans.BandwidthUsage
I
- importResource(RequestContext) - Method in class org.wso2.carbon.usage.agent.listeners.RegistryUsageListener
- importResource(RequestContext) - Method in class org.wso2.carbon.usage.agent.listeners.RegistryUsagePersistingListener
- init(ConfigurationContext, AxisModule) - Method in class org.wso2.carbon.usage.agent.listeners.axis2.RequestMeteringModule
- initializeAllListeners() - Static method in class org.wso2.carbon.usage.agent.util.Util
- initializePersistenceManager() - Static method in class org.wso2.carbon.usage.agent.util.Util
-
this method create a PersistenceManager instance and start a thread for persisting statistics
- invoke(MessageContext) - Method in class org.wso2.carbon.usage.agent.listeners.axis2.RequestMeteringHandler
-
this method invoke MeteredServletRequest and return a InvocationResponse
- invoke(MessageContext) - Method in class org.wso2.carbon.usage.agent.listeners.StatisticsInHandler
- invoke(MessageContext) - Method in class org.wso2.carbon.usage.agent.listeners.StatisticsOutHandler
- isUsageEntryExists(String, String) - Method in class org.wso2.carbon.usage.agent.api.CustomMeteringAgent
-
Check whether the usage entry exist or not
- isUsageEntryExists(String, String) - Method in class org.wso2.carbon.usage.agent.services.CustomMeteringService
-
method to check whether usage entry exists or not
M
- MonitoredReader - Class in org.wso2.carbon.usage.agent.util
-
this class is used to wrap the Reader object
- MonitoredReader(Reader) - Constructor for class org.wso2.carbon.usage.agent.util.MonitoredReader
- MonitoredWriter - Class in org.wso2.carbon.usage.agent.util
-
this class is used to wrap Writer object
- MonitoredWriter(Writer) - Constructor for class org.wso2.carbon.usage.agent.util.MonitoredWriter
O
- org.wso2.carbon.usage.agent.api - package org.wso2.carbon.usage.agent.api
- org.wso2.carbon.usage.agent.beans - package org.wso2.carbon.usage.agent.beans
- org.wso2.carbon.usage.agent.config - package org.wso2.carbon.usage.agent.config
- org.wso2.carbon.usage.agent.exception - package org.wso2.carbon.usage.agent.exception
- org.wso2.carbon.usage.agent.internal - package org.wso2.carbon.usage.agent.internal
- org.wso2.carbon.usage.agent.listeners - package org.wso2.carbon.usage.agent.listeners
- org.wso2.carbon.usage.agent.listeners.axis2 - package org.wso2.carbon.usage.agent.listeners.axis2
- org.wso2.carbon.usage.agent.persist - package org.wso2.carbon.usage.agent.persist
- org.wso2.carbon.usage.agent.services - package org.wso2.carbon.usage.agent.services
- org.wso2.carbon.usage.agent.util - package org.wso2.carbon.usage.agent.util
P
- persist(MeteredServletRequest, MeteredServletResponse) - Method in class org.wso2.carbon.usage.agent.persist.ServiceDataPersistor
-
this method get tenant id, inDataSize and outDataSize from the wrappedRequest, construct a BandwidthUsage object and add it to PersistingControllerQueue
- persistUsage(String, String, String) - Method in class org.wso2.carbon.usage.agent.api.CustomMeteringAgent
-
Persist usage of a user
- persistUsage(String, String, String) - Method in class org.wso2.carbon.usage.agent.services.CustomMeteringService
-
method to persist usage
- persistUsage(Queue<BandwidthUsage>) - Method in class org.wso2.carbon.usage.agent.persist.UsageDataPersistenceTask
-
this method create a Summarizer object for each tenant and call accumulate() method to accumulate usage statistics
- publish(SystemStatistics, int) - Static method in class org.wso2.carbon.usage.agent.util.PublisherUtils
- publish(APIManagerRequestStats, int) - Static method in class org.wso2.carbon.usage.agent.util.PublisherUtils
- publish(BandwidthUsage) - Static method in class org.wso2.carbon.usage.agent.util.PublisherUtils
-
this method get the event payload, construct the SOAP envelop and call the publish method in EventBrokerService.
- PublisherUtils - Class in org.wso2.carbon.usage.agent.util
-
this class provide utility methods to publish usage statistics
- PublisherUtils() - Constructor for class org.wso2.carbon.usage.agent.util.PublisherUtils
- put(RequestContext) - Method in class org.wso2.carbon.usage.agent.listeners.RegistryUsageListener
- put(RequestContext) - Method in class org.wso2.carbon.usage.agent.listeners.RegistryUsagePersistingListener
R
- read(char[], int, int) - Method in class org.wso2.carbon.usage.agent.util.MonitoredReader
- registerRegistryUsagePersistingListener(RegistryContext) - Static method in class org.wso2.carbon.usage.agent.listeners.RegistryUsageListener
- registerRegistryUsagePersistingListener(RegistryContext) - Static method in class org.wso2.carbon.usage.agent.listeners.RegistryUsagePersistingListener
- RegistryUsageListener - Class in org.wso2.carbon.usage.agent.listeners
-
Handler that intercept the registry calls
- RegistryUsageListener() - Constructor for class org.wso2.carbon.usage.agent.listeners.RegistryUsageListener
- RegistryUsagePersister - Class in org.wso2.carbon.usage.agent.persist
-
this class is used to store incoming and outgoing bandwidth
- RegistryUsagePersister() - Constructor for class org.wso2.carbon.usage.agent.persist.RegistryUsagePersister
- RegistryUsagePersistingListener - Class in org.wso2.carbon.usage.agent.listeners
-
Handler that intercept the registry calls Currently this handler is not registered because there is a similar handler RegistryUsageHandler After examining properly this class will be deleted.
- RegistryUsagePersistingListener() - Constructor for class org.wso2.carbon.usage.agent.listeners.RegistryUsagePersistingListener
- RequestMeteringHandler - Class in org.wso2.carbon.usage.agent.listeners.axis2
-
this class is used to obtain tenant id from MeteredServletRequest or MessageContext
- RequestMeteringHandler() - Constructor for class org.wso2.carbon.usage.agent.listeners.axis2.RequestMeteringHandler
- RequestMeteringModule - Class in org.wso2.carbon.usage.agent.listeners.axis2
- RequestMeteringModule() - Constructor for class org.wso2.carbon.usage.agent.listeners.axis2.RequestMeteringModule
- restore(RequestContext) - Method in class org.wso2.carbon.usage.agent.listeners.RegistryUsageListener
- restore(RequestContext) - Method in class org.wso2.carbon.usage.agent.listeners.RegistryUsagePersistingListener
- retrieveUsage(String, String) - Method in class org.wso2.carbon.usage.agent.api.CustomMeteringAgent
-
Retrieve usage of a user
- retrieveUsage(String, String) - Method in class org.wso2.carbon.usage.agent.services.CustomMeteringService
-
method to retrieve usage
- run() - Method in class org.wso2.carbon.usage.agent.persist.BandwidthUsageDataRetrievalTask
- run() - Method in class org.wso2.carbon.usage.agent.persist.UsageDataPersistenceTask
S
- scheduleBandwidthUsageDataRetrievalTask() - Method in class org.wso2.carbon.usage.agent.persist.UsageDataPersistenceManager
- scheduleUsageDataPersistenceTask() - Method in class org.wso2.carbon.usage.agent.persist.UsageDataPersistenceManager
- ServiceDataPersistor - Class in org.wso2.carbon.usage.agent.persist
-
this class is used to persist service data
- ServiceDataPersistor() - Constructor for class org.wso2.carbon.usage.agent.persist.ServiceDataPersistor
- setConfigurationContextService(ConfigurationContextService) - Method in class org.wso2.carbon.usage.agent.internal.UsageAgentServiceComponent
-
method to set ConfigurationContextService
- setConfigurationContextService(ConfigurationContextService) - Static method in class org.wso2.carbon.usage.agent.util.PublisherUtils
-
method to setConfigurationContextService
- setConfigurationContextService(ConfigurationContextService) - Static method in class org.wso2.carbon.usage.agent.util.Util
- setEventBrokerService(EventBroker) - Method in class org.wso2.carbon.usage.agent.internal.UsageAgentServiceComponent
-
method to set EventBrokerService
- setEventBrokerService(EventBroker) - Static method in class org.wso2.carbon.usage.agent.util.Util
- setFaultCount(int) - Method in class org.wso2.carbon.usage.agent.beans.APIManagerRequestStats
- setMeasurement(String) - Method in class org.wso2.carbon.usage.agent.beans.APIManagerRequestStats
- setRealmService(RealmService) - Method in class org.wso2.carbon.usage.agent.internal.UsageAgentServiceComponent
-
method to set RealmService
- setRealmService(RealmService) - Static method in class org.wso2.carbon.usage.agent.util.Util
- setRequestCount(int) - Method in class org.wso2.carbon.usage.agent.beans.APIManagerRequestStats
- setResponseCount(int) - Method in class org.wso2.carbon.usage.agent.beans.APIManagerRequestStats
- setResponseTime(long) - Method in class org.wso2.carbon.usage.agent.beans.APIManagerRequestStats
- setServerConfiguration(ServerConfigurationService) - Method in class org.wso2.carbon.usage.agent.internal.UsageAgentServiceComponent
-
method to set server configurations
- setServerConfiguration(ServerConfigurationService) - Static method in class org.wso2.carbon.usage.agent.util.Util
- setSystemStatisticsUtil(SystemStatisticsUtil) - Method in class org.wso2.carbon.usage.agent.internal.UsageAgentServiceComponent
- setSystemStatisticsUtil(SystemStatisticsUtil) - Static method in class org.wso2.carbon.usage.agent.util.Util
- setTenantId(int) - Method in class org.wso2.carbon.usage.agent.beans.APIManagerRequestStats
- setTenantId(int) - Method in class org.wso2.carbon.usage.agent.beans.BandwidthUsage
- setValue(long) - Method in class org.wso2.carbon.usage.agent.beans.APIManagerRequestStats
- setValue(long) - Method in class org.wso2.carbon.usage.agent.beans.BandwidthUsage
- shutdown(ConfigurationContext) - Method in class org.wso2.carbon.usage.agent.listeners.axis2.RequestMeteringModule
- STATISTICS_DATA_ELEMENT_NAME_EVENT - Static variable in class org.wso2.carbon.usage.agent.util.UsageAgentConstants
- STATISTICS_DATA_ELEMENT_NAME_SERVER_NAME - Static variable in class org.wso2.carbon.usage.agent.util.UsageAgentConstants
- STATISTICS_DATA_ELEMENT_NAME_SERVICE_STATISTICS_DATA - Static variable in class org.wso2.carbon.usage.agent.util.UsageAgentConstants
- STATISTICS_DATA_ELEMENT_NAME_TENANT_ID - Static variable in class org.wso2.carbon.usage.agent.util.UsageAgentConstants
- STATISTICS_DATA_NS_PREFIX - Static variable in class org.wso2.carbon.usage.agent.util.UsageAgentConstants
- STATISTICS_DATA_NS_URI - Static variable in class org.wso2.carbon.usage.agent.util.UsageAgentConstants
- StatisticsInHandler - Class in org.wso2.carbon.usage.agent.listeners
- StatisticsInHandler() - Constructor for class org.wso2.carbon.usage.agent.listeners.StatisticsInHandler
- StatisticsOutHandler - Class in org.wso2.carbon.usage.agent.listeners
- StatisticsOutHandler() - Constructor for class org.wso2.carbon.usage.agent.listeners.StatisticsOutHandler
- storeAddContent(int, long) - Static method in class org.wso2.carbon.usage.agent.persist.RegistryUsagePersister
- storeDeleteContent(int, long) - Static method in class org.wso2.carbon.usage.agent.persist.RegistryUsagePersister
- storeIncomingBandwidth(int, long) - Static method in class org.wso2.carbon.usage.agent.persist.BandwidthPersistor
-
method to store incoming bandwidth
- storeIncomingBandwidth(int, long) - Static method in class org.wso2.carbon.usage.agent.persist.RegistryUsagePersister
-
method to store incoming bandwidth
- storeOutgoingBandwidth(int, long) - Static method in class org.wso2.carbon.usage.agent.persist.BandwidthPersistor
-
method to store outgoingBandwidth
- storeOutgoingBandwidth(int, long) - Static method in class org.wso2.carbon.usage.agent.persist.RegistryUsagePersister
-
method to store outgoingBandwidth
T
- TOPIC_SEPARATOR - Static variable in class org.wso2.carbon.usage.agent.util.UsageAgentConstants
U
- unsetConfigurationContextService(ConfigurationContextService) - Method in class org.wso2.carbon.usage.agent.internal.UsageAgentServiceComponent
-
method to unset ConfigurationContextService
- unsetEventBrokerService(EventBroker) - Method in class org.wso2.carbon.usage.agent.internal.UsageAgentServiceComponent
-
method to unset EventBrokerService
- unsetRealmService(RealmService) - Method in class org.wso2.carbon.usage.agent.internal.UsageAgentServiceComponent
-
method to unsetRealmService
- unsetServerConfiguration(ServerConfigurationService) - Method in class org.wso2.carbon.usage.agent.internal.UsageAgentServiceComponent
-
method to unset server configurations
- unsetSystemStatisticsUtil(SystemStatisticsUtil) - Method in class org.wso2.carbon.usage.agent.internal.UsageAgentServiceComponent
- updateServerName(int) - Static method in class org.wso2.carbon.usage.agent.util.PublisherUtils
-
method to update server name
- UsageAgentConfiguration - Class in org.wso2.carbon.usage.agent.config
- UsageAgentConfiguration(File) - Constructor for class org.wso2.carbon.usage.agent.config.UsageAgentConfiguration
- UsageAgentConstants - Class in org.wso2.carbon.usage.agent.util
-
this class define constants for UsageAgent component
- UsageAgentConstants() - Constructor for class org.wso2.carbon.usage.agent.util.UsageAgentConstants
- UsageAgentServiceComponent - Class in org.wso2.carbon.usage.agent.internal
-
this class is used to activate and deactivate the UsageAgentServiceComponent, set and unset Serverconfigurarion, set and unset EventBrokerService.
- UsageAgentServiceComponent() - Constructor for class org.wso2.carbon.usage.agent.internal.UsageAgentServiceComponent
- UsageDataPersistenceManager - Class in org.wso2.carbon.usage.agent.persist
- UsageDataPersistenceManager(UsageAgentConfiguration) - Constructor for class org.wso2.carbon.usage.agent.persist.UsageDataPersistenceManager
- UsageDataPersistenceTask - Class in org.wso2.carbon.usage.agent.persist
- UsageDataPersistenceTask(Queue<BandwidthUsage>, UsageAgentConfiguration) - Constructor for class org.wso2.carbon.usage.agent.persist.UsageDataPersistenceTask
- UsageException - Exception Class in org.wso2.carbon.usage.agent.exception
-
UsageException class to handle usage exception
- UsageException(String) - Constructor for exception class org.wso2.carbon.usage.agent.exception.UsageException
- UsageException(String, Exception) - Constructor for exception class org.wso2.carbon.usage.agent.exception.UsageException
- UsageStatsAxis2ConfigurationContextObserver - Class in org.wso2.carbon.usage.agent.listeners
- UsageStatsAxis2ConfigurationContextObserver() - Constructor for class org.wso2.carbon.usage.agent.listeners.UsageStatsAxis2ConfigurationContextObserver
- Util - Class in org.wso2.carbon.usage.agent.util
-
this class provide utility methods to set and get RealmService, initializing listeners, initializing PersistenceManager etc Further it provide methods to create statistics event subscription
- Util() - Constructor for class org.wso2.carbon.usage.agent.util.Util
W
- write(char[], int, int) - Method in class org.wso2.carbon.usage.agent.util.MonitoredWriter
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form