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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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.