| Constructor and Description |
|---|
TestPerfEvent(int markerId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.Map<java.lang.String,java.lang.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.
|
java.util.List<java.lang.String> |
getPoints() |
int |
hashCode() |
void |
markerAnnotate(java.lang.String annotationKey,
boolean annotationValue) |
void |
markerAnnotate(java.lang.String annotationKey,
double annotationValue) |
void |
markerAnnotate(java.lang.String annotationKey,
java.lang.Double[] annotationValue) |
void |
markerAnnotate(java.lang.String annotationKey,
int annotationValue) |
void |
markerAnnotate(java.lang.String annotationKey,
int[] annotationValue) |
void |
markerAnnotate(java.lang.String annotationKey,
java.lang.String annotationValue)
Adds a key:value annotation to an already active marker.
|
void |
markerAnnotate(java.lang.String annotationKey,
java.lang.String[] annotationValue) |
void |
markerPoint(java.lang.String eventName)
Annotate the current event with a sub-routing at the point of invocation under the given name.
|
java.lang.String |
toString() |
public int getInstanceKey()
getInstanceKey in interface PerfEventpublic int getMarkerId()
getMarkerId in interface PerfEventpublic void markerAnnotate(java.lang.String annotationKey,
java.lang.String annotationValue)
markerAnnotate in interface PerfEventannotationKey - annotationValue - public void markerAnnotate(java.lang.String annotationKey,
double annotationValue)
markerAnnotate in interface PerfEventannotationKey - annotationValue - markerAnnotate(String, String)public void markerAnnotate(java.lang.String annotationKey,
int annotationValue)
markerAnnotate in interface PerfEventannotationKey - annotationValue - markerAnnotate(String, String)public void markerAnnotate(java.lang.String annotationKey,
boolean annotationValue)
markerAnnotate in interface PerfEventannotationKey - annotationValue - markerAnnotate(String, String)public void markerAnnotate(java.lang.String annotationKey,
java.lang.String[] annotationValue)
markerAnnotate in interface PerfEventannotationKey - annotationValue - markerAnnotate(String, String)public void markerAnnotate(java.lang.String annotationKey,
java.lang.Double[] annotationValue)
markerAnnotate in interface PerfEventannotationKey - annotationValue - markerAnnotate(String, String)public void markerAnnotate(java.lang.String annotationKey,
int[] annotationValue)
markerAnnotate in interface PerfEventannotationKey - annotationValue - markerAnnotate(String, String)public void markerPoint(java.lang.String eventName)
markerPoint in interface PerfEventeventName - public java.util.Map<java.lang.String,java.lang.Object> getAnnotations()
public java.util.List<java.lang.String> getPoints()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object