Package lazyj
Class FrameworkStats
java.lang.Object
lazyj.FrameworkStats
public final class FrameworkStats
extends java.lang.Object
Statistics for the framework.
- Since:
- 2006-10-04
- Author:
- costing
-
Constructor Summary
Constructors Constructor Description FrameworkStats()
-
Method Summary
Modifier and Type Method Description static void
clear()
Clear the counters and the internal structures.static java.util.Vector<java.lang.String>
getTopPages(int count)
Get the most accessed pages (servlets)static java.util.Vector<java.lang.String>
getTopZones(int count)
Get the most accessed zones
-
Constructor Details
-
FrameworkStats
public FrameworkStats()
-
-
Method Details
-
getTopZones
public static final java.util.Vector<java.lang.String> getTopZones(int count)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
public static final java.util.Vector<java.lang.String> getTopPages(int count)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.
-