org.apache.commons.pool2.impl

## Class CallStackUtils

- java.lang.Object
- - org.apache.commons.pool2.impl.CallStackUtils

-     public final class CallStackUtils
      extends Object

  Utility methods for `CallStack`.
  Since:
    2.4.3

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static CallStack` | `newCallStack(String messageFormat, boolean useTimestamp)` Constructs a new `CallStack` using the fastest allowed strategy.

    - ### Methods inherited from class java.lang.Object

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

- - ### Method Detail

    - #### newCallStack

          public static CallStack newCallStack(String messageFormat,
                                               boolean useTimestamp)

      Constructs a new `CallStack` using the fastest allowed strategy.
      Parameters:
        `messageFormat` - message (or format) to print first in stack traces
        `useTimestamp` - if true, interpret message as a SimpleDateFormat and print the created timestamp; otherwise, print message format literally
      Returns:
        a new CallStack

Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.