Top Description Methods
org.glassfish.pfl.tf.spi.annotation

public @Interface InfoMethod

extends Annotation
Annotations
@Documented
@Target:METHOD
@Retention:RUNTIME
Imports
java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target, org.glassfish.pfl.tf.spi.TimingPointType

Used to indicate that a method is used for invoking MethodMonitor.info. Note that the tracing name is the method name unless overridden by a TracingName annotation (which is required if the method is overloaded). Also note that either all overloaded methods of the same name are InfoMethods, or none of them are. The name of this method as a TimingPoint is the same as the tracing name. The method must be private and have a void return type. Any arguments are passed into the MethodMonitor.info call in the instrumented code.
Author
ken

Method Summary

Modifier and TypeMethod and Description
public String
tpName()

Gives the name of timing point to use for this info method.

public TimingPointType
tpType()

Indicates whether this info method represents an ENTER, EXIT, or NONE (no timing point).

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

tpNameback to summary
public String tpName()

Gives the name of timing point to use for this info method. Must not be "" if tpType is not NONE.

tpTypeback to summary
public TimingPointType tpType()

Indicates whether this info method represents an ENTER, EXIT, or NONE (no timing point).