Class WebStatsHelper


  • public class WebStatsHelper
    extends java.lang.Object
    This class assists in generating Web Statistics for the application.
    Since:
    MicroStrategy Web 9.0.0
    • Constructor Summary

      Constructors 
      Constructor Description
      WebStatsHelper()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static long sleep​(int sleepMillis, java.lang.String className, java.lang.String methodName)
      Perform a Thread.sleep call logging the time slept to our Web Statistics infrastructure.
      • Methods inherited from class java.lang.Object

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

      • WebStatsHelper

        public WebStatsHelper()
    • Method Detail

      • sleep

        public static long sleep​(int sleepMillis,
                                 java.lang.String className,
                                 java.lang.String methodName)
        Perform a Thread.sleep call logging the time slept to our Web Statistics infrastructure.
        Parameters:
        sleepMillis - The time to sleep (in milliseconds)
        className - The class invoking the sleep call.
        methodName - The method invoking the sleep call.
        Returns:
        The actual time slept (in milliseconds)