public interface PayloadInfo
A typical example for payload is the SQL string that is displayed by the built-in JDBC probe.
Modifier and Type | Method and Description |
---|---|
PayloadInfo |
calculateTime()
Calculates the elapsed time since the creation of the payload and save it in the payload info.
|
PayloadInfo |
discardTime()
Discards the associated timing information in the payload, so that the displayed time in the JProfiler
GUI will be zero.
|
java.lang.String |
getDescription()
Returns the description for the payload info.
|
java.lang.Object |
getMemento()
Retrieves the memento object.
|
void |
setDescription(java.lang.String description)
Sets the description for the payload info.
|
void |
setMemento(java.lang.Object memento)
Sets the memento object.
|
java.lang.String getDescription()
void setDescription(java.lang.String description)
description
- the descriptionjava.lang.Object getMemento()
void setMemento(java.lang.Object memento)
memento
- the memento object, can be nullPayloadInfo calculateTime()
PayloadInfo discardTime()