Constructor and Description |
---|
TestPerfEvent(int markerId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Map<String,Object> |
getAnnotations() |
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.
|
List<String> |
getPoints() |
int |
hashCode() |
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.
|
String |
toString() |
public int getInstanceKey()
getInstanceKey
in interface PerfEvent
public int getMarkerId()
getMarkerId
in interface PerfEvent
public void markerAnnotate(String annotationKey, String annotationValue)
markerAnnotate
in interface PerfEvent
annotationKey
- annotationValue
- public void markerAnnotate(String annotationKey, double annotationValue)
markerAnnotate
in interface PerfEvent
annotationKey
- annotationValue
- markerAnnotate(String, String)
public void markerAnnotate(String annotationKey, int annotationValue)
markerAnnotate
in interface PerfEvent
annotationKey
- annotationValue
- markerAnnotate(String, String)
public void markerAnnotate(String annotationKey, boolean annotationValue)
markerAnnotate
in interface PerfEvent
annotationKey
- annotationValue
- markerAnnotate(String, String)
public void markerAnnotate(String annotationKey, String[] annotationValue)
markerAnnotate
in interface PerfEvent
annotationKey
- annotationValue
- markerAnnotate(String, String)
public void markerAnnotate(String annotationKey, Double[] annotationValue)
markerAnnotate
in interface PerfEvent
annotationKey
- annotationValue
- markerAnnotate(String, String)
public void markerAnnotate(String annotationKey, int[] annotationValue)
markerAnnotate
in interface PerfEvent
annotationKey
- annotationValue
- markerAnnotate(String, String)
public void markerPoint(String eventName)
markerPoint
in interface PerfEvent
eventName
-