|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Documented
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface MonitorAnnotation indicating a field or method should be collected for monitoring. The attributes annotated should be thread-safe for access by a background thread. If a method is annotated it should be inexpensive and avoid any potentially costly operations such as IO and networking. Expect that the fields will be polled frequently and cache values that require expensive computation rather than computing them inline.
| Optional Element Summary | |
|---|---|
java.lang.String |
description
A human readable description of the annotated attribute. |
DataSourceLevel |
level
Level of the value that is annotated, for more information see DataSourceLevel. |
java.lang.String |
name
Name of the annotated attribute. |
DataSourceType |
type
Type of value that is annotated, for more information see DataSourceType. |
public abstract java.lang.String name
public abstract DataSourceType type
DataSourceType.
public abstract DataSourceLevel level
DataSourceLevel.
public abstract java.lang.String description
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||