JProfiler API

com.jprofiler.api.agent.probe
Interface TelemetryProbe

All Superinterfaces:
Probe

public interface TelemetryProbe
extends Probe

Base class for deriving a probe that publishes telemetries. A telemetry probe is queried periodically for telemetry values. Probes are added to the profiled process with a ProbeProvider.

See Also:
ProbeProvider

Method Summary
 void fillTelemetryData(ProbeContext probeContext, int[] data)
          Fills in a sample for all published telemetries.
 
Methods inherited from interface com.jprofiler.api.agent.probe.Probe
getMetaData
 

Method Detail

fillTelemetryData

void fillTelemetryData(ProbeContext probeContext,
                       int[] data)
Fills in a sample for all published telemetries. This method is called once every second. The data argument receives the sample data for all publishes telemetries. The indices in the array correspond to the invocations of ProbeMetaData.addCustomTelemetry(String, Unit, float) in the meta-data configuration.

Parameters:
probeContext - the probe context that can be used to publish probe events
data - the data array for the current sample

JProfiler API