-
public final class ProfilingAnrDetectedEventSent by the profiling feature to the RUM feature when ProfilingManager notifies us of an ANR via the trigger-based capture API.
-
-
Field Summary
Fields Modifier and Type Field Description private final LongdetectedAtMsprivate final List<StackTraceElement>anrThreadStackprivate final StringanrThreadNameprivate final Thread.StateanrThreadStateprivate final List<ProfilingThreadDump>allThreads
-
Constructor Summary
Constructors Constructor Description ProfilingAnrDetectedEvent(Long detectedAtMs, List<StackTraceElement> anrThreadStack, String anrThreadName, Thread.State anrThreadState, List<ProfilingThreadDump> allThreads)
-
Method Summary
Modifier and Type Method Description final LonggetDetectedAtMs()final List<StackTraceElement>getAnrThreadStack()final StringgetAnrThreadName()final Thread.StategetAnrThreadState()final List<ProfilingThreadDump>getAllThreads()-
-
Constructor Detail
-
ProfilingAnrDetectedEvent
ProfilingAnrDetectedEvent(Long detectedAtMs, List<StackTraceElement> anrThreadStack, String anrThreadName, Thread.State anrThreadState, List<ProfilingThreadDump> allThreads)
- Parameters:
detectedAtMs- Timestamp (device clock, millis since epoch) when the profiling feature handled the ANR trigger callback.anrThreadStack- Stack trace of the thread that triggered the ANR (in practice the main looper thread) at capture time.anrThreadName- Name of the thread that triggered the ANR.anrThreadState- JVM thread state of the ANR thread at capture time.allThreads- Per-thread dump for every other live thread (ANR thread excluded).
-
-
Method Detail
-
getDetectedAtMs
final Long getDetectedAtMs()
-
getAnrThreadStack
final List<StackTraceElement> getAnrThreadStack()
-
getAnrThreadName
final String getAnrThreadName()
-
getAnrThreadState
final Thread.State getAnrThreadState()
-
getAllThreads
final List<ProfilingThreadDump> getAllThreads()
-
-
-
-