public interface CallStack
CallStackUtils
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the current stack trace snapshot.
|
void |
fillInStackTrace()
Takes a snapshot of the current call stack.
|
boolean |
printStackTrace(PrintWriter writer)
Prints the current stack trace if available to a PrintWriter.
|
boolean printStackTrace(PrintWriter writer)
PooledObject
usage in user code.writer
- a PrintWriter to write the current stack trace to if availablevoid fillInStackTrace()
printStackTrace(PrintWriter)
will print
out that stack trace until it is cleared.void clear()
printStackTrace(PrintWriter)
will be
no-ops until another call to fillInStackTrace()
.Copyright © 2020. All rights reserved.