|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
public @interface Monitored
Annotation to mark classes and/or methods that should be monitored. A method is monitored when it is annotated,
or when it is in a class that is annotated (or any of it's subclasses). Stopwatch is used
as a monitor.
fully.qualified.ClassName.methodName
Current name resolution applies since version 3.1.
| Optional Element Summary | |
|---|---|
String |
name
Returns the name for the Stopwatch without its possible suffix - default is the class name. |
String |
suffix
Part added after the name part (which defaults to the class name or is specified on the class annotation). |
public abstract String name
Stopwatch without its possible suffix - default is the class name.
Using the parameter on the method annotation overrides name from the class.
public abstract String suffix
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||