Tabnine Logo
Profiler.clearMethodCallParent
Code IndexAdd Tabnine to your IDE (free)

How to use
clearMethodCallParent
method
in
org.stagemonitor.tracing.profiler.Profiler

Best Java code snippets using org.stagemonitor.tracing.profiler.Profiler.clearMethodCallParent (Showing top 1 results out of 315)

origin: stagemonitor/stagemonitor

@Override
public void onFinish(SpanWrapper spanWrapper, String operationName, long durationNanos) {
  final SpanContextInformation contextInfo = SpanContextInformation.forSpan(spanWrapper);
  if (contextInfo.getCallTree() != null) {
    try {
      Profiler.stop();
      if (tracingPlugin.isSampled(spanWrapper)) {
        determineIfExcludeCallTree(contextInfo);
        if (isAddCallTreeToSpan(contextInfo, operationName)) {
          addCallTreeToSpan(contextInfo, spanWrapper, operationName);
        }
      }
    } finally {
      Profiler.clearMethodCallParent();
    }
  }
}
org.stagemonitor.tracing.profilerProfilerclearMethodCallParent

Popular methods of Profiler

  • addIOCall
  • stop
  • activateProfiling
    Activates the profiling for the current thread by setting the provided CallStackElement as the root
  • start
  • getMethodCallParent
    Adds the current
  • isProfilingActive
  • addCall
  • deactivateProfiling

Popular in Java

  • Reading from database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • findViewById (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • BoxLayout (javax.swing)
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now