Package org.openjdk.jmc.agent.jmx
Interface AgentControllerMXBean
-
- All Known Implementing Classes:
AgentController
public interface AgentControllerMXBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
defineEventProbes(java.lang.String xmlDescription)
Reverts all existing instrumentation and then defines a new set of event probes to transform.JFRTransformDescriptor[]
retrieveCurrentTransforms()
java.lang.String
retrieveEventProbes()
Returns the most recent XML configuration that was successfully applied.
-
-
-
Method Detail
-
defineEventProbes
void defineEventProbes(java.lang.String xmlDescription) throws java.lang.Exception
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:
java.lang.Exception
- thrown when an event probe's specified class can not be retransformed.
-
retrieveEventProbes
java.lang.String retrieveEventProbes()
Returns the most recent XML configuration that was successfully applied.- Returns:
- an XML snippet of the current configuration.
-
retrieveCurrentTransforms
JFRTransformDescriptor[] retrieveCurrentTransforms()
-
-