JProfiler API documentation


com.jprofiler.api.agent.probe
Interface ProbeEvent


public interface ProbeEvent

A probe event. Probe events are created with the various create methods in the probe context and interceptor context. A probe event must be published with ProbeContext.addEvent(ProbeEvent).


Method Summary
 ProbeEvent additionalData(java.lang.Object[] additionalData)
          Add additional data to the probe event.
 int getControlObjectId()
          Returns the ID of the associated control object.
 

Method Detail

additionalData

ProbeEvent additionalData(java.lang.Object[] additionalData)
Add additional data to the probe event. Additional data must be configured by calling ProbeMetaData.addAdditionalData(String, DataType) in the meta data configuration method. The size in the array corresponds to the the number of calls to the above method.

Parameters:
additionalData - the additional data
Returns:
this instance

getControlObjectId

int getControlObjectId()
Returns the ID of the associated control object.

Returns:
the ID. 0 if no control object has been associated with this event.