Class ProfilerFactory


  • public class ProfilerFactory
    extends java.lang.Object
    • Field Detail

      • BUILT_IN

        private static final java.util.Map<java.lang.String,​java.lang.Class<? extends Profiler>> BUILT_IN
    • Constructor Detail

      • ProfilerFactory

        public ProfilerFactory()
    • Method Detail

      • getProfiler

        private static Profiler getProfiler​(ProfilerConfig cfg)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • instantiate

        private static Profiler instantiate​(ProfilerConfig cfg,
                                            java.lang.Class<? extends Profiler> p)
                                     throws java.lang.InstantiationException,
                                            java.lang.IllegalAccessException,
                                            java.lang.reflect.InvocationTargetException
        Throws:
        java.lang.InstantiationException
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException
      • listProfilers

        public static void listProfilers​(java.io.PrintStream out)
      • getDiscoveredProfilers

        private static java.util.List<java.lang.Class<? extends Profiler>> getDiscoveredProfilers()