Documentation
Java Profiler 9.0 Help
Probes: extendable profiling and monitoring
Probe classes
Compiling probe classes
Java Profiler 9.0 Help
Probes: extendable profiling and monitoring
Probe classes
Compiling probe classesCompiling probe classes
After you have written your probe classes,
compile them with Java compiler (javac) as regular Java classes.
Please add yjp.jar to the compiler class path
to make classes in package com.yourkit.probe accessible.
Unlike compile time, you do not need to add yjp.jar to class path in runtime.
All necessary classes in com.yourkit.probe will be automatically
loaded by the profiler agent.
Optionally, you can put compiled classes to a JAR file. The probe classes are self-explanatory, so there is no need in any additional description in the JAR file manifest.