Package lazyj
Class FrameworkStats
java.lang.Object
lazyj.FrameworkStats
Statistics for the framework.
- Since:
- 2006-10-04
- Author:
- costing
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
clear()
Clear the counters and the internal structures.getTopPages
(int count) Get the most accessed pages (servlets)getTopZones
(int count) Get the most accessed zones
-
Constructor Details
-
FrameworkStats
public FrameworkStats()
-
-
Method Details
-
getTopZones
Get the most accessed zones- Parameters:
count
- maximum number of zones to return- Returns:
- an array of the most accessed zones, with the number of accesses to them
-
getTopPages
Get the most accessed pages (servlets)- Parameters:
count
- maximum number of results to return- Returns:
- an array of strings with the zone/servlet and the number of accesses
-
clear
public static void clear()Clear the counters and the internal structures.
-