org.perf4j.aop
Class DefaultProfiled
java.lang.Object
org.perf4j.aop.DefaultProfiled
- All Implemented Interfaces:
- Annotation, Profiled
public class DefaultProfiled
- extends Object
- implements Profiled
This unusual concrete implementation of this Profiled annotation interface is used for cases where some
interception frameworks may want to profile methods that DON'T have a profiled annotation (for example, EJB 3.0
interceptors). See the code for AbstractEjbTimingAspect
for an example of how this is
used.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final DefaultProfiled INSTANCE
tag
public String tag()
message
public String message()
logger
public String logger()
level
public String level()
el
public boolean el()
logFailuresSeparately
public boolean logFailuresSeparately()
timeThreshold
public long timeThreshold()
normalAndSlowSuffixesEnabled
public boolean normalAndSlowSuffixesEnabled()
annotationType
public Class<? extends Annotation> annotationType()
- Specified by:
annotationType
in interface Annotation
Copyright © 2008-2011 perf4j.org. All Rights Reserved.