Class MCRCommandStatistics

java.lang.Object
org.mycore.frontend.cli.MCRCommandStatistics

public class MCRCommandStatistics extends Object
Collects statistics on number of invocations and total time needed for each command invoked.
Author:
Frank Lützenkirchen
See Also:
  • Constructor Details

    • MCRCommandStatistics

      public MCRCommandStatistics()
  • Method Details

    • commandInvoked

      public static void commandInvoked(MCRCommand command, long timeNeeded)
    • showCommandStatistics

      public static void showCommandStatistics()
      Shows statistics on number of invocations and time needed for each command successfully executed.