org.glassfish.pfl.tf.spi.annotation
Annotation Type InfoMethod


@Documented
@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface InfoMethod

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

Optional Element Summary
 String tpName
           
 TimingPointType tpType
           
 

tpType

public abstract TimingPointType tpType
Default:
org.glassfish.pfl.tf.spi.TimingPointType.NONE

tpName

public abstract String tpName
Default:
""


Copyright © 2013 Oracle. All Rights Reserved.