Package com.sun.btrace.annotations

Enum Summary
Kind This enum is specified in the Location annotation to specify probe point kind.
Where This enum is specified in the Location annotation to specify whether a probe point is after or before specific point of interest.
 

Annotation Types Summary
BTrace Top-level annotation that identifies a BTrace class.
DTrace Annotation for BTrace program to associate a D-script with it.
DTraceRef Annotation for BTrace program to associate a D-script with it.
Duration It is used to mark a probe method argument as the receiver of the duration value
Applicable only for OnMethod annotation with Location value of Kind.RETURN or Kind.ERROR
Export BTrace fields with this annotation are exposed to out-of-process tools using mechanisms such as jvmstat.
Location This annotation specifies a particular "location" within a traced/probed java method for BTrace probe specifications.
OnError BTrace method annotated by this annotation is called when any exception is thrown by any of the BTrace action methods.
OnEvent BTrace methods annotated by this annotation are called when BTrace client sends "event" command.
OnExit BTrace method annotated by this annotation is called when BTrace "exit(int)" built-in function is called by some other BTrace action method.
OnLowMemory BTrace methods annotated by this annotation are called when the traced JVM's specified memory pool exceeds specified threshold size.
OnMethod This annotation specifies a BTrace probe point by specifying a java class (or classes), a method (or methods in it) and a specific location within it.
OnProbe This annotation is used to specify a BTrace probe point in an abstract fashion instead of specifying the class and the method names.
OnTimer BTrace methods annotated by this annotation are called when a timer reaches the specified period value.
ProbeClassName It is used to mark a probe method argument as the receiver of the probe target class name
Applicable only for OnMethod annotation
ProbeMethodName It is used to mark a probe method argument as the receiver of the probe target class name
Applicable only for OnMethod annotation
Property BTrace fields with this annotation are exposed as attributes of the dynamic JMX bean that wraps the BTrace class.
Return Marks a method parameter as the one that should contain the return value
Self Marks a method parameter as the one that should contain *this* instance
TargetInstance It is used to mark a probe method argument as the receiver of called instance in Location = Kind.CALL
TargetMethodOrField It is used to mark a probe method argument as the receiver of called method name in Location = Kind.CALL
TLS Annotation for thread-local BTrace fields.