Package com.atlassian.diagnostics.detail
Interface ThreadDumpProducer
public interface ThreadDumpProducer
Produces thread dumps with a string representations of stack traces for the supplied threads. If the stack trace
of a thread is unavailable (per the contract of
Thread.getStackTrace()), the ThreadDump is created
with an empty stack-
Method Summary
Modifier and TypeMethodDescriptionProducesthread dumpsfor the supplied threadstoStackTraceString(List<StackTraceElement> elements)
-
Method Details
-
produce
Producesthread dumpsfor the supplied threads- Parameters:
threads- the threads to generate stack traces for- Returns:
- thread dumps for each of the provided threads
-
toStackTraceString
-