Package org.mycore.frontend.cli
Class MCRCommandStatistics
java.lang.Object
org.mycore.frontend.cli.MCRCommandStatistics
Collects statistics on number of invocations and total time needed for each command invoked.
- Author:
- Frank Lützenkirchen
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
commandInvoked
(MCRCommand command, long timeNeeded) static void
Shows statistics on number of invocations and time needed for each command successfully executed.
-
Constructor Details
-
MCRCommandStatistics
public MCRCommandStatistics()
-
-
Method Details
-
commandInvoked
-
showCommandStatistics
public static void showCommandStatistics()Shows statistics on number of invocations and time needed for each command successfully executed.
-