NoOpCallStack

CallStack strategy using no-op implementations of all functionality. Can be used by default when abandoned object logging is disabled.

Members

Functions

clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
fillInStackTrace
void fillInStackTrace()
Undocumented in source. Be warned that the author may not have intended to support it.
printStackTrace
bool printStackTrace(Writer writer)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

INSTANCE
CallStack INSTANCE;

Singleton instance.

Inherited Members

From CallStack

printStackTrace
bool printStackTrace(Writer writer)

Prints the current stack trace if available to a PrintWriter. The format is undefined and is primarily useful for debugging issues with {@link PooledObject} usage in user code.

fillInStackTrace
void fillInStackTrace()

Takes a snapshot of the current call stack. Subsequent calls to {@link #printStackTrace(PrintWriter)} will print out that stack trace until it is {@linkplain #clear() cleared}.

clear
void clear()

Clears the current stack trace snapshot. Subsequent calls to {@link #printStackTrace(PrintWriter)} will be no-ops until another call to {@link #fillInStackTrace()}.

Meta