public interface ProbeProvider
-Djprofiler.probeProvider=fully-qualified-class
to the java call of the profiled process.
Probes are only functional if the JVM is actually profiled, i.e. the -agentpath:[path to jprofilerti library]
(JVMTI) is present as a JVM parameter.
Note that if you define custom probes in the JProfiler GUI, you will not have to use this class since JProfiler deploys your custom probes in that case.
Modifier and Type | Method and Description |
---|---|
Probe[] |
getProbes()
Returns the probes that should be activated.
|
Probe[] getProbes()
If you analyze payload information with the profiling platform, the payload id is always equal to the one-based index in the returned array, i.e. if you return a single interceptor, the payload id is always 1.