Class Profiler

java.lang.Object
com.netcracker.profiler.agent.Profiler

public class Profiler extends Object
  • Field Details

    • EXCHANGE_BUFFER_METHOD_NAME

      public static final String EXCHANGE_BUFFER_METHOD_NAME
    • EXCHANGE_BUFFER_METHOD_ID

      public static final int EXCHANGE_BUFFER_METHOD_ID
  • Constructor Details

    • Profiler

      public Profiler()
  • Method Details

    • getState

      public static LocalState getState()
    • event

      public static void event(Object value, String name)
    • event

      public static void event(Object value, int tagId)
    • pluginException

      public static void pluginException(Throwable t)
    • logError

      public static void logError(String log)
    • logError

      public static void logError(String log, Throwable t)
    • logWarn

      public static void logWarn(String log)
    • logWarn

      public static void logWarn(String log, Throwable t)
    • logInfo

      public static void logInfo(String log)
    • logDebug

      public static void logDebug(String log)
    • enter

      public static void enter(String methodName)
    • enterWithDuration

      public static void enterWithDuration(String methodName, long millisecondsPassed)
    • enter

      public static void enter(int methodId)
    • enterReturning

      public static LocalState enterReturning(int methodId)
    • exit

      public static void exit()
    • markSystem

      public static void markSystem()
    • threadExit

      public static void threadExit()
    • exchangeBuffer

      public static void exchangeBuffer(LocalBuffer buffer)
    • exchangeBuffer

      public static void exchangeBuffer(LocalBuffer buffer, long methodAndTime)
    • getMetricConfigByName

      public static MetricsConfiguration getMetricConfigByName(String callType)
    • getMetric

      public static Metric getMetric(MetricType metricType, String callType, Map<String,String> aggregationParameters)