A C D E F G H I J L M N O P S T V W 
All Classes All Packages

A

AbstractTraceHandler - Class in de.codecamp.tracer
 
AbstractTraceHandler() - Constructor for class de.codecamp.tracer.AbstractTraceHandler
 
activeTrace() - Static method in interface de.codecamp.tracer.Tracer
Returns the deepest currently active trace of the current context or a no-op dummy if none is available.
ActiveTrace - Interface in de.codecamp.tracer
An ActiveTrace is a short-lived delegate that represents an active trace.
ActiveTraceImpl - Class in de.codecamp.tracer.impl
 
ActiveTraceImpl(Trace, TracerImpl) - Constructor for class de.codecamp.tracer.impl.ActiveTraceImpl
 
addFilter(F) - Method in class de.codecamp.tracer.impl.PatternFilterSet
 
ARROWS - de.codecamp.tracer.formatters.DefaultTraceFormatter.TreeStyle
 

C

checkWarnThreshold(TraceContextImpl) - Method in class de.codecamp.tracer.impl.TracerImpl
 
close() - Method in interface de.codecamp.tracer.ActiveTrace
Simply calls ActiveTrace.end().
close() - Method in class de.codecamp.tracer.impl.NoOpTraceContext
 
close() - Method in class de.codecamp.tracer.impl.TraceContextImpl
Closes this trace context.
close() - Method in interface de.codecamp.tracer.TraceContext
Closes this trace context.
CludeFilter - Class in de.codecamp.tracer.impl
A filter for includes or excludes.
CludeFilter(String, boolean) - Constructor for class de.codecamp.tracer.impl.CludeFilter
 
CludeFilter(Pattern, boolean) - Constructor for class de.codecamp.tracer.impl.CludeFilter
 
containsWarnings(Trace) - Method in class de.codecamp.tracer.AbstractTraceHandler
 
context() - Static method in interface de.codecamp.tracer.Tracer
Returns the currently open tracer context or a no-op dummy if none is available.
contextClosed(TraceContext) - Method in class de.codecamp.tracer.handlers.Log4jMdcProvider
 
contextClosed(TraceContext) - Method in class de.codecamp.tracer.handlers.Slf4jMdcProvider
 
contextClosed(TraceContext) - Method in interface de.codecamp.tracer.TraceContextListener
Called when a trace context was closed.
contextOpened(TraceContext) - Method in class de.codecamp.tracer.handlers.Log4jMdcProvider
 
contextOpened(TraceContext) - Method in class de.codecamp.tracer.handlers.Slf4jMdcProvider
 
contextOpened(TraceContext) - Method in interface de.codecamp.tracer.TraceContextListener
Called when a trace context was opened.
createRegexPattern(String) - Static method in class de.codecamp.tracer.impl.PatternFilterSet
 
CURRENT_CONTEXT - Static variable in class de.codecamp.tracer.impl.TraceContextImpl
the current profiler context

D

de.codecamp.tracer - package de.codecamp.tracer
 
de.codecamp.tracer.annotations - package de.codecamp.tracer.annotations
 
de.codecamp.tracer.core - module de.codecamp.tracer.core
 
de.codecamp.tracer.formatters - package de.codecamp.tracer.formatters
 
de.codecamp.tracer.handlers - package de.codecamp.tracer.handlers
 
de.codecamp.tracer.impl - package de.codecamp.tracer.impl
 
DefaultTraceFormatter - Class in de.codecamp.tracer.formatters
The default profile formatter.
DefaultTraceFormatter() - Constructor for class de.codecamp.tracer.formatters.DefaultTraceFormatter
Constructs a new DefaultTraceFormatter.
DefaultTraceFormatter.TreeStyle - Enum in de.codecamp.tracer.formatters
 
DOTS - de.codecamp.tracer.formatters.DefaultTraceFormatter.TreeStyle
 

E

end() - Method in interface de.codecamp.tracer.ActiveTrace
Ends this trace and all sub-traces.
end() - Method in class de.codecamp.tracer.impl.ActiveTraceImpl
 
end() - Method in class de.codecamp.tracer.impl.NoOpActiveTrace
 
end(Instant) - Method in class de.codecamp.tracer.Trace
Sets the trace as ended and records the end time.
end(Instant, Throwable) - Method in class de.codecamp.tracer.Trace
Sets this trace and all still active sub-traces as ended and records the end time.

F

filter(String) - Method in class de.codecamp.tracer.impl.PatternFilterSet
 
Filter - Class in de.codecamp.tracer.impl
 
Filter(String) - Constructor for class de.codecamp.tracer.impl.Filter
 
Filter(Pattern) - Constructor for class de.codecamp.tracer.impl.Filter
 
format(Trace) - Method in class de.codecamp.tracer.formatters.DefaultTraceFormatter
 
format(Trace) - Method in interface de.codecamp.tracer.TraceFormatter
Formats the given trace including all subtraces.

G

getActiveTrace() - Method in class de.codecamp.tracer.impl.NoOpTraceContext
 
getActiveTrace() - Method in class de.codecamp.tracer.impl.TraceContextImpl
 
getActiveTrace() - Method in interface de.codecamp.tracer.TraceContext
Returns the deepest currently active trace of the current context or a no-op dummy if none is available.
getActiveTrace(boolean) - Method in class de.codecamp.tracer.Trace
 
getData() - Method in class de.codecamp.tracer.Trace
 
getData(Class<T>) - Method in class de.codecamp.tracer.Trace
 
getData(String) - Method in class de.codecamp.tracer.Trace
 
getData(String, Class<T>) - Method in class de.codecamp.tracer.Trace
 
getDuration() - Method in class de.codecamp.tracer.Trace
Returns the duration of this trace.
getEndTime() - Method in class de.codecamp.tracer.Trace
Returns the end time of this trace.
getExitThrowable() - Method in class de.codecamp.tracer.Trace
Returns the throwable that exited the trace.
getFilterMode() - Method in class de.codecamp.tracer.impl.TraceContextImpl
 
getGapsThreshold() - Method in class de.codecamp.tracer.impl.TracerImpl
 
getHandler() - Method in class de.codecamp.tracer.impl.TracerImpl
 
getId() - Method in class de.codecamp.tracer.impl.NoOpTraceContext
 
getId() - Method in class de.codecamp.tracer.impl.TraceContextImpl
 
getId() - Method in interface de.codecamp.tracer.TraceContext
 
getLabel() - Method in class de.codecamp.tracer.Trace
Returns the label of this trace.
getLastSubTrace() - Method in class de.codecamp.tracer.Trace
 
getListeners() - Method in class de.codecamp.tracer.impl.TracerImpl
 
getName() - Method in class de.codecamp.tracer.impl.TraceContextImpl
 
getParentContext() - Method in class de.codecamp.tracer.impl.TraceContextImpl
 
getParentTrace() - Method in class de.codecamp.tracer.Trace
Returns the parent trace or null.
getPattern() - Method in class de.codecamp.tracer.impl.Filter
 
getRootTrace() - Method in class de.codecamp.tracer.impl.TraceContextImpl
 
getStartTime() - Method in class de.codecamp.tracer.Trace
Returns the start time of this trace.
getSubTraces() - Method in class de.codecamp.tracer.Trace
Returns the list of sub-traces.
getThreshold() - Method in class de.codecamp.tracer.impl.WarnFilter
 

H

handle(Trace) - Method in class de.codecamp.tracer.handlers.JclLoggingTraceHandler
 
handle(Trace) - Method in class de.codecamp.tracer.handlers.JulLoggingTraceHandler
 
handle(Trace) - Method in class de.codecamp.tracer.handlers.Slf4jLoggingTraceHandler
 
handle(Trace) - Method in interface de.codecamp.tracer.TraceHandler
Handles the given fully completed trace.
hasContext() - Static method in interface de.codecamp.tracer.Tracer
Returns whether a tracer context is currently open for the current thread.
hasEnded() - Method in class de.codecamp.tracer.Trace
Returns whether the trace has already ended.

I

ignore() - Method in annotation type de.codecamp.tracer.annotations.Traced
Indicates that the annotated method should not be traced.
INSTANCE - Static variable in class de.codecamp.tracer.impl.NoOpActiveTrace
 
INSTANCE - Static variable in class de.codecamp.tracer.impl.NoOpTraceContext
 
isContextRoot() - Method in class de.codecamp.tracer.Trace
Returns whether this trace is the root of a TraceContextImpl.
isGap() - Method in class de.codecamp.tracer.Trace
Returns whether this trace represents a gap.
isGapsIncluded() - Method in class de.codecamp.tracer.impl.TracerImpl
 
isRootContext() - Method in class de.codecamp.tracer.impl.NoOpTraceContext
 
isRootContext() - Method in class de.codecamp.tracer.impl.TraceContextImpl
 
isRootContext() - Method in interface de.codecamp.tracer.TraceContext
Trace contexts can be nested.
isTransitive() - Method in class de.codecamp.tracer.impl.CludeFilter
 
isWarn() - Method in class de.codecamp.tracer.Trace
 

J

JclLoggingTraceHandler - Class in de.codecamp.tracer.handlers
A TraceHandler logging with Apache Commons Logging.
JclLoggingTraceHandler() - Constructor for class de.codecamp.tracer.handlers.JclLoggingTraceHandler
 
JclLoggingTraceHandler(String) - Constructor for class de.codecamp.tracer.handlers.JclLoggingTraceHandler
 
JulLoggingTraceHandler - Class in de.codecamp.tracer.handlers
A TraceHandler logging with java.util.logging.
JulLoggingTraceHandler() - Constructor for class de.codecamp.tracer.handlers.JulLoggingTraceHandler
 
JulLoggingTraceHandler(String) - Constructor for class de.codecamp.tracer.handlers.JulLoggingTraceHandler
 

L

LINES - de.codecamp.tracer.formatters.DefaultTraceFormatter.TreeStyle
 
Log4jMdcProvider - Class in de.codecamp.tracer.handlers
 
Log4jMdcProvider() - Constructor for class de.codecamp.tracer.handlers.Log4jMdcProvider
 

M

MARKER_NAME - Static variable in class de.codecamp.tracer.handlers.Slf4jLoggingTraceHandler
the name of the marker used when logging the profiler session
Masked - Annotation Type in de.codecamp.tracer.annotations
Indicates that the value of the annotated method parameter should not be captured.

N

newContextRoot(Trace, Instant, String, Object[]) - Static method in class de.codecamp.tracer.Trace
 
newExplicit(Trace, Instant, String, Object[]) - Static method in class de.codecamp.tracer.Trace
 
newGap(Trace, Instant, Instant) - Static method in class de.codecamp.tracer.Trace
 
NoOpActiveTrace - Class in de.codecamp.tracer.impl
 
NoOpTraceContext - Class in de.codecamp.tracer.impl
 

O

openContext(String, String) - Method in interface de.codecamp.tracer.Tracer
Opens a new tracer context.
openContext(String, String, Object...) - Method in class de.codecamp.tracer.impl.TracerImpl
 
openContext(String, String, Object...) - Method in interface de.codecamp.tracer.Tracer
Opens a new trace context.

P

ParamListArg - Class in de.codecamp.tracer.impl
A simple wrapper for an array of parameter values that can be used as argument for the formatting of trace names.
ParamListArg(Object[]) - Constructor for class de.codecamp.tracer.impl.ParamListArg
Constructs a new ParamListArg.
PatternFilterSet<F extends Filter> - Class in de.codecamp.tracer.impl
 
PatternFilterSet(List<F>) - Constructor for class de.codecamp.tracer.impl.PatternFilterSet
 

S

setData(Class<T>, T) - Method in class de.codecamp.tracer.Trace
 
setData(String, Object) - Method in class de.codecamp.tracer.Trace
 
setData(Map<String, Object>) - Method in class de.codecamp.tracer.Trace
 
setExcludes(String[]) - Method in class de.codecamp.tracer.impl.TracerImpl
 
setExitThrowable(Throwable) - Method in class de.codecamp.tracer.impl.NoOpTraceContext
 
setExitThrowable(Throwable) - Method in class de.codecamp.tracer.impl.TraceContextImpl
 
setExitThrowable(Throwable) - Method in interface de.codecamp.tracer.TraceContext
Setting a throwable indicates that the trace context hasn't exited regularly.
setFormatter(TraceFormatter) - Method in class de.codecamp.tracer.handlers.JclLoggingTraceHandler
Sets the formatter used when logging.
setFormatter(TraceFormatter) - Method in class de.codecamp.tracer.handlers.JulLoggingTraceHandler
Sets the formatter used when logging.
setFormatter(TraceFormatter) - Method in class de.codecamp.tracer.handlers.Slf4jLoggingTraceHandler
Sets the formatter used when logging.
setGapsIncluded(boolean) - Method in class de.codecamp.tracer.impl.TracerImpl
 
setGapsThreshold(Duration) - Method in class de.codecamp.tracer.impl.TracerImpl
 
setHandler(TraceHandler) - Method in class de.codecamp.tracer.impl.TracerImpl
 
setIncludes(String[]) - Method in class de.codecamp.tracer.impl.TracerImpl
 
setLineWidth(int) - Method in class de.codecamp.tracer.formatters.DefaultTraceFormatter
 
setListeners(List<TraceContextListener>) - Method in class de.codecamp.tracer.impl.TracerImpl
 
setPrefixNewLine(boolean) - Method in class de.codecamp.tracer.formatters.DefaultTraceFormatter
 
setTreeStyle(DefaultTraceFormatter.TreeStyle) - Method in class de.codecamp.tracer.formatters.DefaultTraceFormatter
 
setWarn(boolean) - Method in class de.codecamp.tracer.Trace
 
setWarnThresholds(Map<String, Duration>) - Method in class de.codecamp.tracer.impl.TracerImpl
 
Slf4jLoggingTraceHandler - Class in de.codecamp.tracer.handlers
A TraceHandler logging with SLF4J.
Slf4jLoggingTraceHandler() - Constructor for class de.codecamp.tracer.handlers.Slf4jLoggingTraceHandler
 
Slf4jLoggingTraceHandler(String) - Constructor for class de.codecamp.tracer.handlers.Slf4jLoggingTraceHandler
 
Slf4jMdcProvider - Class in de.codecamp.tracer.handlers
 
Slf4jMdcProvider() - Constructor for class de.codecamp.tracer.handlers.Slf4jMdcProvider
 
SPACES - de.codecamp.tracer.formatters.DefaultTraceFormatter.TreeStyle
 
startSubTrace(String, Object...) - Method in interface de.codecamp.tracer.ActiveTrace
Starts and returns a new sub-trace which will be the new active trace.
startSubTrace(String, Object...) - Method in class de.codecamp.tracer.impl.ActiveTraceImpl
 
startSubTrace(String, Object...) - Method in class de.codecamp.tracer.impl.NoOpActiveTrace
 
startTrace(String) - Method in interface de.codecamp.tracer.TraceContext
Starts a new sub-trace as a direct child of this trace context.
startTrace(String, Object...) - Method in class de.codecamp.tracer.impl.NoOpTraceContext
 
startTrace(String, Object...) - Method in class de.codecamp.tracer.impl.TraceContextImpl
 
startTrace(String, Object...) - Method in interface de.codecamp.tracer.TraceContext
Starts a new sub-trace within this trace context.

T

toString() - Method in class de.codecamp.tracer.impl.ParamListArg
 
toString() - Method in class de.codecamp.tracer.impl.TraceContextImpl
 
toString() - Method in class de.codecamp.tracer.Trace
 
Trace - Class in de.codecamp.tracer
A Trace represents a time interval an application has spent within a certain piece of code.
TraceContext - Interface in de.codecamp.tracer
The TraceContext represents a certain area of code, like a method.
TraceContextImpl - Class in de.codecamp.tracer.impl
A trace context that may contain a number of traces.
TraceContextListener - Interface in de.codecamp.tracer
A listener that gets notified when trace contexts are started and closed.
Traced - Annotation Type in de.codecamp.tracer.annotations
Indicates that an annotated method or methods in an annotated class should be traced.
TraceFormatter - Interface in de.codecamp.tracer
Responsible for bringing the trace hierarchy into an suitable printable or loggable format.
TraceHandler - Interface in de.codecamp.tracer
The TraceHandler is responsible for processing a fully completed trace, i.e.
traceHierarchyStream(Trace) - Method in class de.codecamp.tracer.AbstractTraceHandler
 
Tracer - Interface in de.codecamp.tracer
A simple tool for hierarchical measurement of durations in your code.
TracerImpl - Class in de.codecamp.tracer.impl
 
TracerImpl() - Constructor for class de.codecamp.tracer.impl.TracerImpl
 
TRANSITIVE_SUFFIX - Static variable in class de.codecamp.tracer.impl.CludeFilter
 

V

value() - Method in annotation type de.codecamp.tracer.annotations.Masked
Returns the string that the actual value will be replaced with.
valueOf(String) - Static method in enum de.codecamp.tracer.formatters.DefaultTraceFormatter.TreeStyle
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.codecamp.tracer.formatters.DefaultTraceFormatter.TreeStyle
Returns an array containing the constants of this enum type, in the order they are declared.

W

WarnFilter - Class in de.codecamp.tracer.impl
 
WarnFilter(String, Duration) - Constructor for class de.codecamp.tracer.impl.WarnFilter
 
WarnFilter(Pattern, Duration) - Constructor for class de.codecamp.tracer.impl.WarnFilter
 
A C D E F G H I J L M N O P S T V W 
All Classes All Packages