Annotation Type 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.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionGives the name of timing point to use for this info method.Indicates whether this info method represents an ENTER, EXIT, or NONE (no timing point).
-
Element Details
-
tpType
TimingPointType tpTypeIndicates whether this info method represents an ENTER, EXIT, or NONE (no timing point).- Default:
NONE
-
tpName
String tpNameGives the name of timing point to use for this info method. Must not be "" if tpType is not NONE.- Default:
""
-