Class CommandStatsEntry

java.lang.Object
org.deltava.beans.stats.CommandStatsEntry
All Implemented Interfaces:
Serializable, Comparable<CommandStatsEntry>

public class CommandStatsEntry extends Object implements Serializable, Comparable<CommandStatsEntry>
A bean to store Web Site Command statistics.
Since:
1.0
Version:
7.0
Author:
Luke
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new Web Site Command statistics bean.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Compares two statistics beans by comparing their command names.
    int
    Returns the average back-end data source use time.
    int
    Returns the average Command execution time.
    int
    Returns the number of times the Command was executed.
    int
    Returns the miaxmum back-end data source use time.
    int
    Returns the maximum Command execution time.
    Returns the Command ID.
    int
    Returns the number of times the Command was successfully executed.
    void
    Updates the average back-end data source usage for this Command.
    void
    setAvgTime(int time)
    Updates the average execution time of this Command.
    void
    setCount(int count)
    Updates the execution count for this Command.
    void
    Updates the maximum back-end data source usage time for this Command.
    void
    setMaxTime(int time)
    Updates the maximum execution time for this Command.
    void
    setSuccessCount(int count)
    Updates the number of times this Command was successfully executed.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait