CustomMeteringService class defines methods to get recorded duration, to check whether
usage entries exists, persist usage, retrieve usage and add usage.
this method get tenant id, inDataSize and outDataSize from the wrappedRequest, construct a
BandwidthUsage object and add it to PersistingControllerQueue
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.
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