Class CallStackUtils
- java.lang.Object
- 
- org.apache.tomcat.dbcp.pool2.impl.CallStackUtils
 
- 
 public final class CallStackUtils extends java.lang.ObjectUtility methods forCallStack.- Since:
- 2.4.3
 
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CallStacknewCallStack(java.lang.String messageFormat, boolean useTimestamp)Deprecated.static CallStacknewCallStack(java.lang.String messageFormat, boolean useTimestamp, boolean requireFullStackTrace)Constructs a newCallStackusing the fasted allowed strategy.
 
- 
- 
- 
Method Detail- 
newCallStack@Deprecated public static CallStack newCallStack(java.lang.String messageFormat, boolean useTimestamp) Deprecated.Constructs a newCallStackusing 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
 
 - 
newCallStackpublic static CallStack newCallStack(java.lang.String messageFormat, boolean useTimestamp, boolean requireFullStackTrace) Constructs a newCallStackusing the fasted 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
- requireFullStackTrace- if true, forces the use of a stack walking mechanism that includes full stack trace information; otherwise, uses a faster implementation if possible
- Returns:
- a new CallStack
- Since:
- 2.5
 
 
- 
 
-