public interface CallStack
usage tracking
so
that different JVMs and configurations can use more efficient strategies
for obtaining the current call stack depending on metadata needs.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(java.io.PrintWriter writer)
Prints the current stack trace if available to a PrintWriter.
|
boolean printStackTrace(java.io.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 © 2000-2018 Apache Software Foundation. All Rights Reserved.