Class ClassProfilingInformation

    • Field Detail

      • name

        public final java.lang.String name
        The name of the class.
      • SIMPLE_NAMES

        public static boolean SIMPLE_NAMES
        Global flag to control class name usage.
        If "true", simple class names are used. See Class.getSimpleName().
    • Constructor Detail

      • ClassProfilingInformation

        public ClassProfilingInformation​(java.lang.String name)
        Creates a new Class Information object.
        Parameters:
        name - The name.
    • Method Detail

      • getClassInformation

        public static java.util.List<ClassProfilingInformation> getClassInformation()
        Get all class profiling information.
        Returns:
        The list of class information.
      • clearProfilingInformation

        public static void clearProfilingInformation()
        Clear all profiling information from class/method information.
      • getProfilingStartTime

        public static java.util.Date getProfilingStartTime()
        Get start date and time.
        Returns:
        The current system time of start of profiling.
      • getClassInformation

        public static ClassProfilingInformation getClassInformation​(java.lang.String clazz)
        Get the class information for the module/class.
        If feasible, use ThreadProfilingInformation.getClassInformation(java.lang.String), especially if the thread information instance is already in use. Use of the thread-local ThreadProfilingInformation-instance can reduce synchronization overhead.
        Parameters:
        clazz - The class. The simple name if SIMPLE_NAMES is active, otherwise the full name.
        Returns:
        The class information instance.
      • getMethodInformation

        public java.util.List<MethodProfilingInformation> getMethodInformation()
        Gets all methods .
        The method is thread-safe.
        Returns:
        The Methods
      • getMethodInformation

        public MethodProfilingInformation getMethodInformation​(java.lang.String methodName)
        Gets or creates the information object for the method.
        The method is thread-safe.
        Parameters:
        methodName - The name of the method.
        Returns:
        The Method-Information instance