| java.lang.Object org.wso2.esb.statistics.persistence.StatisticsDBUtils
StatisticsDBUtils | public class StatisticsDBUtils (Code) | | The Util class to access STATISTICS table
|
Method Summary | |
public static int | clearAll(PersistenceManager pm) | public static Object | getServersIds(PersistenceManager pm) | public static StatisticsDO[] | getStatistics(PersistenceManager pm, String serverid) | public static StatisticsDO[] | getStatistics(PersistenceManager pm, String serverid, int direction) | public static StatisticsDO[] | getStatistics(PersistenceManager pm, String serverid, int direction, int category) | public static StatisticsDO[] | getStatistics(PersistenceManager pm, String serverid, int category, String name) | public static StatisticsDO | getStatistics(PersistenceManager pm, String serverid, int category, int direction, String name) | public static StatisticsDO[] | getStatistics(PersistenceManager pm, int category, String name) | public static StatisticsDO[] | getStatistics(PersistenceManager pm, int category) | public static StatisticsDO[] | getStatistics(PersistenceManager pm, int category, int direction) | public static StatisticsDO[] | getStatisticsForServer(PersistenceManager pm, String serverid, int category) | public static StatisticsDO[] | getStatisticsForServer(PersistenceManager pm, String serverid, int direction, int category) | public static Object | getSummaryStatisticsForServer(PersistenceManager pm, String serverid, int direction, int category) | public static List | getTotalCountForCategory(PersistenceManager pm, int category) | public static List | getTotalCountForServerS(PersistenceManager pm, int category) | public static StatisticsDO[] | getTotalStatisticsForServer(PersistenceManager pm, String serverid) | public static Object | getUniqueNames(PersistenceManager pm, int category) | public static void | insertRecord(PersistenceManager pm, String serverId, StatisticsHolder statisticsHolder) | public static void | updateRecord(PersistenceManager pm, String serverId, StatisticsHolder statisticsHolder) |
insertRecord | public static void insertRecord(PersistenceManager pm, String serverId, StatisticsHolder statisticsHolder)(Code) | | To insert a record to the statistics table
Parameters: pm - Parameters: serverId - Parameters: statisticsHolder - |
updateRecord | public static void updateRecord(PersistenceManager pm, String serverId, StatisticsHolder statisticsHolder)(Code) | | To update a record of the statistics table
Parameters: pm - Parameters: serverId - Parameters: statisticsHolder - |
|
|