Class NoOpCallStack

  • All Implemented Interfaces:
    CallStack

    public class NoOpCallStack
    extends java.lang.Object
    implements CallStack
    CallStack strategy using no-op implementations of all functionality. Can be used by default when abandoned object logging is disabled.
    Since:
    2.5
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static CallStack INSTANCE
      The singleton instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait