public interface HotSpotGraalManagementRegistration
HotSpotGraalRuntime instance.
The MBean will be dynamically created when a JMX client attaches or some other event causes the
platform MBean server to be started.| Modifier and Type | Method and Description |
|---|---|
void |
initialize(HotSpotGraalRuntime runtime,
GraalHotSpotVMConfig config)
Completes the initialization of this registration by recording the
HotSpotGraalRuntime the MBean will provide an JMX interface to. |
Object |
poll(boolean sync)
Polls this registration to see if the MBean is registered in a MBean server.
|
void initialize(HotSpotGraalRuntime runtime, GraalHotSpotVMConfig config)
HotSpotGraalRuntime the MBean will provide an JMX interface to.Object poll(boolean sync)
sync - synchronize with other threads that may be processing this registration. This is
useful when the caller knows the server is active (e.g., it has a reference to
server) and expects this poll to therefore return a non-null value.ObjectName that can be used to access the MBean or
null if the MBean has not been registered with an MBean server (e.g., no JMX
client has attached to the VM)