dataContext.addDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY,
currentTenantCapacity);
dataContext.addDataLong(ThrottlingDataEntryConstants.TENANT_HISTORY_CAPACITY,
historyTenantCapacity);
//Assigning registry bandwidths
BandwidthStatistics totalRgistryBW=usage.getTotalRegistryBandwidth();
dataContext.addDataLong(ThrottlingDataEntryConstants.REGISTRY_INCOMING_BANDWIDTH,
totalRgistryBW.getIncomingBandwidth());
dataContext.addDataLong(ThrottlingDataEntryConstants.REGISTRY_OUTGOING_BANDWIDTH,
totalRgistryBW.getOutgoingBandwidth());
//Assigning service bandwidths
BandwidthStatistics serviceBWStatistic=usage.getTotalServiceBandwidth();
dataContext.addDataLong(ThrottlingDataEntryConstants.SERVICE_INCOMING_BANDWIDTH,
serviceBWStatistic.getIncomingBandwidth());
dataContext.addDataLong(ThrottlingDataEntryConstants.SERVICE_OUTGOING_BANDWIDTH,
serviceBWStatistic.getOutgoingBandwidth());
//Assigning webapp bandwidths
BandwidthStatistics webappBWStatistic = usage.getTotalWebappBandwidth();
dataContext.addDataLong(ThrottlingDataEntryConstants.WEBAPP_INCOMING_BANDWIDTH,
webappBWStatistic.getIncomingBandwidth());
dataContext.addDataLong(ThrottlingDataEntryConstants.WEBAPP_OUTGOING_BANDWIDTH,
webappBWStatistic.getOutgoingBandwidth());
//Assigning service requests and response
RequestStatistics requestStat = usage.getTotalRequestStatistics();
dataContext.addDataLong(ThrottlingDataEntryConstants.SERVICE_REQUEST_COUNT,
requestStat.getRequestCount());