org.perf4j.aop
Class DefaultProfiled

java.lang.Object
  extended by 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.


Field Summary
static DefaultProfiled INSTANCE
           
 
Fields inherited from interface org.perf4j.aop.Profiled
DEFAULT_TAG_NAME
 
Method Summary
 Class<? extends Annotation> annotationType()
           
 boolean el()
           
 String level()
           
 boolean logFailuresSeparately()
           
 String logger()
           
 String message()
           
 boolean normalAndSlowSuffixesEnabled()
           
 String tag()
           
 long timeThreshold()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.annotation.Annotation
equals, hashCode, toString
 

Field Detail

INSTANCE

public static final DefaultProfiled INSTANCE
Method Detail

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.