org.apache.synapse.aspects.statistics.view
Class PerUserDomainViewStrategy

java.lang.Object
  extended by org.apache.synapse.aspects.statistics.view.PerUserViewStrategy
      extended by org.apache.synapse.aspects.statistics.view.PerUserDomainViewStrategy
All Implemented Interfaces:
StatisticsViewStrategy

public class PerUserDomainViewStrategy
extends PerUserViewStrategy

PerUserViewStrategy - user domain name is used.


Field Summary
 
Fields inherited from class org.apache.synapse.aspects.statistics.view.PerUserViewStrategy
DOMAIN, IP
 
Constructor Summary
PerUserDomainViewStrategy()
           
 
Method Summary
 Map<String,Map<String,InOutStatisticsView>> determineView(List<StatisticsRecord> statisticsRecords, ComponentType type)
          Return a statistics view for all resource with given type
 Map<String,InOutStatisticsView> determineView(String id, List<StatisticsRecord> statisticsRecords, ComponentType type)
          Return a statistics view for a resource with given type and given name
 
Methods inherited from class org.apache.synapse.aspects.statistics.view.PerUserViewStrategy
determineView, determineView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerUserDomainViewStrategy

public PerUserDomainViewStrategy()
Method Detail

determineView

public Map<String,Map<String,InOutStatisticsView>> determineView(List<StatisticsRecord> statisticsRecords,
                                                                 ComponentType type)
Description copied from interface: StatisticsViewStrategy
Return a statistics view for all resource with given type

Parameters:
statisticsRecords - Statistics Data
type - Type of resource
Returns:
A particular statistics view

determineView

public Map<String,InOutStatisticsView> determineView(String id,
                                                     List<StatisticsRecord> statisticsRecords,
                                                     ComponentType type)
Description copied from interface: StatisticsViewStrategy
Return a statistics view for a resource with given type and given name

Parameters:
id - The resource name or identifier
statisticsRecords - Statistics Data
type - Type of resource
Returns:
A particular statistics view


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.