Home » openjdk-7 » javax » management » j2ee » [javadoc | source]

    1   package javax.management.j2ee;
    2   
    3   /**
    4    * Represents a standard Time Measurements
    5    *
    6    * @author <a href="mailto:marc@jboss.org">Marc Fleury</a>
    7    * @author <a href="mailto:andreas@jboss.org">Andreas Schaefer</a>
    8    * @version $Revision: 1.1 $
    9    *   
   10    * <p><b>Revisions:</b>
   11    *
   12    * <p><b>200112009 Andreas Schaefer:</b>
   13    * <ul>
   14    * <li> Adjustment to the new JBoss guide lines and also adjustments
   15    *      to the latest JSR-77 specification
   16    * </ul>
   17    **/
   18   public interface TimeStatistic
   19      extends Statistic
   20   {
   21      // Constants -----------------------------------------------------
   22      
   23      public static final String HOUR = "HOUR";
   24      public static final String MINUTE = "MINUTE";
   25      public static final String SECOND = "SECOND";
   26      public static final String MILLISECOND = "MILLISECOND";
   27      public static final String MICROSECOND = "MICROSECOND";
   28      public static final String NANOSECOND = "NANOSECOND";
   29      
   30      // Public --------------------------------------------------------
   31      
   32      /**
   33      * @return The number of times a time measurements was added
   34      **/
   35      public long getCount();
   36      
   37      /**
   38      * @return The minimum time added since start of the measurements
   39      **/
   40      public long getMinTime();
   41      
   42      /**
   43      * @return The maximum time added since start of the measurements
   44      **/
   45      public long getMaxTime();
   46      
   47      /**
   48      * @return The sum of all the time added to the measurements since
   49      *         it started
   50      **/
   51      public long getTotalTime();
   52      
   53      // Package protected ---------------------------------------------
   54      
   55      // Protected -----------------------------------------------------
   56      
   57      // Static inner classes -------------------------------------------------
   58   }

Home » openjdk-7 » javax » management » j2ee » [javadoc | source]