Package org.openjdk.jmc.agent.jmx
Interface AgentControllerMXBean
- All Known Implementing Classes:
AgentController
public interface AgentControllerMXBean
-
Method Summary
Modifier and TypeMethodDescriptionvoiddefineEventProbes(String xmlDescription) Reverts all existing instrumentation and then defines a new set of event probes to transform.Returns the most recent XML configuration that was successfully applied.
-
Method Details
-
defineEventProbes
Reverts all existing instrumentation and then defines a new set of event probes to transform.- Parameters:
xmlDescription- the XML snippet describing event probes to transform.- Throws:
Exception- thrown when an event probe's specified class can not be retransformed.
-
retrieveEventProbes
String retrieveEventProbes()Returns the most recent XML configuration that was successfully applied.- Returns:
- an XML snippet of the current configuration.
-
retrieveCurrentTransforms
JFRTransformDescriptor[] retrieveCurrentTransforms()
-