|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
AbstractTimingAspect | This is the base class for TimingAspects. |
Annotation Types Summary | |
---|---|
Profiled | The Profiled annotation is used in concert with the log4j or javalog TimingAspects to enable unobtrusive performance logging. |
Provides annotations that work with an aspect-oriented framework like AspectJ or Spring AOP to allow timing
of code blocks without explicit logging statements. The Profiled
annotation can be added to
method declarations to indicate that method execution should be timed, e.g.:
@Profiled(tag = "servlet{$0.pathInfo}") protected void doGet(HttpServletRequest req, HttpServletResponse res) { ... }Timing code can then be enabled using the concrete subclasses of
AbstractTimingAspect
, such
as the log4j TimingAspect
. You will need to use an aspect framework such as AspectJ
or Spring AOP to enable these aspects.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |