Documentation
Java Profiler 9.0 Help
Probes: extendable profiling and monitoring
Probe classes
Probe unregistration
Java Profiler 9.0 Help
Probes: extendable profiling and monitoring
Probe classes
Probe unregistrationProbe unregistration
Registered probe can be unregistered in runtime. This means that all methods which have been instrumented with the probe's callbacks will be returned to their original state.
Most likely, you will never need to unregister probes in runtime. However, such option is provided.
Probe unregistration via UI
Use Manage Probes
Probe unregistration via API
Invoke static method unregisterProbes() of class com.yourkit.probes.Probes (see: API):
public static void unregisterProbes(final String... probeClassNames);
public static void unregisterProbes(final Class... probeClasses);
Examples:
import com.yourkit.probes.*;
// ...
Probes.unregisterProbes(MyProbe.class);
Probes.unregisterProbes("com.foo.Probe1", "com.foo.Probe2");