public interface PerfEvent
ComponentsLogger.newPerformanceEvent(ComponentContext,
int)
to track performance metrics in the framework.Modifier and Type | Method and Description |
---|---|
int |
getInstanceKey()
Identify a particular instance of a performance event if there are multiple, parallel events of
the same marker id.
|
int |
getMarkerId()
Identify the type of a performance event.
|
void |
markerAnnotate(String annotationKey,
boolean annotationValue) |
void |
markerAnnotate(String annotationKey,
double annotationValue) |
void |
markerAnnotate(String annotationKey,
Double[] annotationValue) |
void |
markerAnnotate(String annotationKey,
int annotationValue) |
void |
markerAnnotate(String annotationKey,
int[] annotationValue) |
void |
markerAnnotate(String annotationKey,
String annotationValue)
Adds a key:value annotation to an already active marker.
|
void |
markerAnnotate(String annotationKey,
String[] annotationValue) |
void |
markerPoint(String eventName)
Annotate the current event with a sub-routing at the point of invocation under the given name.
|
int getInstanceKey()
int getMarkerId()
void markerAnnotate(String annotationKey, String annotationValue)
void markerAnnotate(String annotationKey, double annotationValue)
markerAnnotate(String, String)
void markerAnnotate(String annotationKey, int annotationValue)
markerAnnotate(String, String)
void markerAnnotate(String annotationKey, boolean annotationValue)
markerAnnotate(String, String)
void markerAnnotate(String annotationKey, String[] annotationValue)
markerAnnotate(String, String)
void markerAnnotate(String annotationKey, Double[] annotationValue)
markerAnnotate(String, String)
void markerAnnotate(String annotationKey, int[] annotationValue)
markerAnnotate(String, String)
void markerPoint(String eventName)