org.apache.synapse.aspects.statistics.view
Interface StatisticsViewStrategy

All Known Implementing Classes:
PerUserDomainViewStrategy, PerUserIPViewStrategy, PerUserViewStrategy, SystemViewStrategy

public interface StatisticsViewStrategy

Strategy for determine Statistics Views


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
 

Method Detail

determineView

Map<String,Map<String,InOutStatisticsView>> determineView(List<StatisticsRecord> statisticsRecords,
                                                          ComponentType type)
Return a statistics view for all resource with given type

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

determineView

Map<String,InOutStatisticsView> determineView(String id,
                                              List<StatisticsRecord> statisticsRecords,
                                              ComponentType type)
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.