org.apache.synapse.aspects.statistics.view
Class SystemViewStrategy
java.lang.Object
org.apache.synapse.aspects.statistics.view.SystemViewStrategy
- All Implemented Interfaces:
- StatisticsViewStrategy
public class SystemViewStrategy
- extends Object
- implements StatisticsViewStrategy
Strategy that determine a system wide statistics view
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemViewStrategy
public SystemViewStrategy()
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
- Specified by:
determineView
in interface StatisticsViewStrategy
- Parameters:
statisticsRecords
- Statistics Datatype
- 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
- Specified by:
determineView
in interface StatisticsViewStrategy
- Parameters:
id
- The resource name or identifierstatisticsRecords
- Statistics Datatype
- Type of resource
- Returns:
- A particular statistics view
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.