Cisco Systems, Inc.

com.pcube.apps.engage.policy
Class CountersManager

java.lang.Object
  extended by com.pcube.apps.engage.policy.CountersManager

public class CountersManager
extends Object

Global and Subscriber scopes Counters Manager

Author:
rafis

Constructor Summary
CountersManager()
           
 
Method Summary
static List getCounterNames(Policy policy, AccountingScope scope)
          list of counter names ordered by counter index.
static List getCounterToProtocolFamilyMapping(Policy policy, AccountingScope scope)
          create and return a list that at location i has a list of protocol families that their aggregated volume/sessions/seconds is counted by counter i.
static List getCounterToServicesMapping(Policy policy, AccountingScope scope)
          create and return a list that at location i has a list of services that their aggregated volume/sessions/seconds is counted by counter i.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountersManager

public CountersManager()
Method Detail

getCounterNames

public static List getCounterNames(Policy policy,
                                   AccountingScope scope)
list of counter names ordered by counter index. if counter with index i does not exist the location i is null.

Parameters:
policy -
scope -
Returns:

getCounterToServicesMapping

public static List getCounterToServicesMapping(Policy policy,
                                               AccountingScope scope)
create and return a list that at location i has a list of services that their aggregated volume/sessions/seconds is counted by counter i. if counter i does not exist the value at location i is null

Parameters:
policy -
Returns:

getCounterToProtocolFamilyMapping

public static List getCounterToProtocolFamilyMapping(Policy policy,
                                                     AccountingScope scope)
create and return a list that at location i has a list of protocol families that their aggregated volume/sessions/seconds is counted by counter i. if counter i does not exist the value at location i is null. Counter X is associated with protocol family Y if at least half of the trafiic accounted by X belong to protocols of family Y.

Parameters:
policy -
accounting - scope

Cisco Systems, Inc.

Copyright © 2011 Cisco Systems, Inc. Confidential.