|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cascading.util.TraceUtil
public class TraceUtil
Constructor Summary | |
---|---|
TraceUtil()
|
Method Summary | |
---|---|
static String |
captureDebugTrace(Object target)
|
static String |
formatRawTrace(Pipe pipe,
String message)
Method formatRawTrace does not include the pipe name |
static String |
formatTrace(Operation operation,
String message)
|
static String |
formatTrace(Pipe pipe,
String message)
|
static String |
formatTrace(Scheme scheme,
String message)
|
static String |
formatTrace(Tap tap,
String message)
|
static void |
registerApiBoundary(String apiBoundary)
Add a regex that serves as a boundary for tracing. |
static void |
setTrace(Object object,
String trace)
Allows for custom trace fields on Pipe, Tap, and Scheme types |
static String |
stringifyStackTrace(Throwable throwable,
String lineSeparator,
boolean trimLines,
int lineLimit)
|
static void |
unregisterApiBoundary(String apiBoundary)
Remove a regex as a boundary for tracing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TraceUtil()
Method Detail |
---|
public static void registerApiBoundary(String apiBoundary)
captureDebugTrace(Object)
will be from a caller that comes higher in the
stack than any apiBoundary package or class.
apiBoundary
- public static void unregisterApiBoundary(String apiBoundary)
apiBoundary
- public static void setTrace(Object object, String trace)
object
- trace
- public static String formatTrace(Scheme scheme, String message)
public static String formatRawTrace(Pipe pipe, String message)
pipe
- of type Pipemessage
- of type String
public static String formatTrace(Pipe pipe, String message)
public static String formatTrace(Tap tap, String message)
public static String formatTrace(Operation operation, String message)
public static String captureDebugTrace(Object target)
public static String stringifyStackTrace(Throwable throwable, String lineSeparator, boolean trimLines, int lineLimit)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |