public class TimingAspect extends ProfiledTimingAspect
Constructor and Description |
---|
TimingAspect() |
Modifier and Type | Method and Description |
---|---|
protected Slf4JStopWatch |
newStopWatch(String loggerName,
String levelName)
Subclasses should implement this method to return a LoggingStopWatch that should be used to time the wrapped
code block.
|
doPerfLogging
runProfiledMethod
evaluateJexl, getJexlExpression, getStopWatchMessage, getStopWatchTag, runProfiledMethod
protected Slf4JStopWatch newStopWatch(String loggerName, String levelName)
AbstractTimingAspect
newStopWatch
in class AbstractTimingAspect
loggerName
- The name of the logger to use for persisting StopWatch messages.levelName
- The level at which the message should be logged.Copyright © 2008–2015 jperf. All rights reserved.