Uses of Class
org.perf4j.LoggingStopWatch

Packages that use LoggingStopWatch
org.perf4j Perf4J is a performance logging and monitoring framework for Java. 
org.perf4j.aop Provides annotations that work with an aspect-oriented framework like AspectJ, Spring AOP or EJB interceptors to allow timing of code blocks without explicit logging statements. 
org.perf4j.commonslog Provides a CommonsLogStopWatch to use as your StopWatch implementation if the Apache Commons Logging framework is your logging framework of choice. 
org.perf4j.javalog Provides a JavaLogStopWatch to use as your StopWatch implementation if the java.util.logging framework is your logging framework of choice. 
org.perf4j.log4j Provides the log4j appenders that can be used to automatically aggregate and analyze StopWatch timing statements logged to an org.apache.log4j.Logger
org.perf4j.slf4j Provides a Slf4JStopWatch to use as your StopWatch implementation if the SLF4J framework is your logging framework of choice. 
 

Uses of LoggingStopWatch in org.perf4j
 

Methods in org.perf4j that return LoggingStopWatch
 LoggingStopWatch LoggingStopWatch.clone()
           
 LoggingStopWatch TimedRunnable.getStopWatch()
          Gets the LoggingStopWatch that will be used to time the run method execution.
 LoggingStopWatch TimedCallable.getStopWatch()
          Gets the LoggingStopWatch that will be used to time the call method execution.
 LoggingStopWatch LoggingStopWatch.setMessage(String message)
           
 LoggingStopWatch LoggingStopWatch.setNormalAndSlowSuffixesEnabled(boolean normalAndSlowSuffixesEnabled)
          Sets whether to append normalSuffix and slowSuffix when timeThreshold > 0 AND elapsedTime >= timeThreshold
 LoggingStopWatch LoggingStopWatch.setNormalSuffix(String normalSuffix)
          Sets the suffix to use when normalAndSlowSuffixesEnabled=true and timeThreshold > 0 and elapsedTime < timeThreshold.
 LoggingStopWatch LoggingStopWatch.setSlowSuffix(String slowSuffix)
          Sets the suffix to use when normalAndSlowSuffixesEnabled=true and timeThreshold > 0 and elapsedTime >= timeThreshold.
 LoggingStopWatch LoggingStopWatch.setTag(String tag)
           
 LoggingStopWatch LoggingStopWatch.setTimeThreshold(long timeThreshold)
          Sets a threshold level, in milliseconds, below which logging calls will not be made.
 

Constructors in org.perf4j with parameters of type LoggingStopWatch
TimedCallable(Callable<V> task, LoggingStopWatch stopWatch)
          Wraps the existing Callable in order to time its call method.
TimedRunnable(Runnable task, LoggingStopWatch stopWatch)
          Wraps the existing Runnable in order to time its run method.
 

Uses of LoggingStopWatch in org.perf4j.aop
 

Methods in org.perf4j.aop that return LoggingStopWatch
protected abstract  LoggingStopWatch AbstractTimingAspect.newStopWatch(String loggerName, String levelName)
          Subclasses should implement this method to return a LoggingStopWatch that should be used to time the wrapped code block.
protected abstract  LoggingStopWatch AbstractEjbTimingAspect.newStopWatch(String loggerName, String levelName)
          Subclasses should implement this method to return a LoggingStopWatch that should be used to time the wrapped code block.
 

Methods in org.perf4j.aop with parameters of type LoggingStopWatch
 Object AgnosticTimingAspect.runProfiledMethod(AbstractJoinPoint joinPoint, Profiled profiled, LoggingStopWatch stopWatch)
          This method actually executes the profiled method.
 

Uses of LoggingStopWatch in org.perf4j.commonslog
 

Subclasses of LoggingStopWatch in org.perf4j.commonslog
 class CommonsLogStopWatch
          This LoggingStopWatch uses an Apache Commons Logging Log instance to persist the StopWatch messages.
 

Uses of LoggingStopWatch in org.perf4j.javalog
 

Subclasses of LoggingStopWatch in org.perf4j.javalog
 class JavaLogStopWatch
          This LoggingStopWatch uses a java.util.logging Logger to persist the StopWatch messages.
 

Uses of LoggingStopWatch in org.perf4j.log4j
 

Subclasses of LoggingStopWatch in org.perf4j.log4j
 class Log4JStopWatch
          This LoggingStopWatch uses a log4j Logger to persist the StopWatch messages.
 

Uses of LoggingStopWatch in org.perf4j.slf4j
 

Subclasses of LoggingStopWatch in org.perf4j.slf4j
 class Slf4JStopWatch
          This LoggingStopWatch uses an SLF4J Logger instance to persist the StopWatch messages.
 



Copyright © 2008-2011 perf4j.org. All Rights Reserved.