| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | HotSpotAttachProvider.
A virtual machine descriptor to describe a HotSpot virtual machine. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public List | listVirtualMachines()
Implements abstract com. Lists the Java virtual machines known to this provider. |
| pack-priv void |
| HotSpotAttachProvider | back to summary |
|---|---|
| public HotSpotAttachProvider() | |
| listVirtualMachines | back to summary |
|---|---|
| public List Implements abstract com. Doc from com. Lists the Java virtual machines known to this provider. This method returns a list of
| |
| testAttachable | back to summary |
|---|---|
| pack-priv void testAttachable(String id) throws AttachNotSupportedException Test if a VM is attachable. If it's not attachable, an AttachNotSupportedException will be thrown. For example, 1.4.2 or 5.0 VM are not attachable. There are cases that we can't determine if a VM is attachable or not and this method will just return. This method uses the jvmstat counter to determine if a VM is attachable. If the target VM does not have a jvmstat share memory buffer, this method returns.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean |
| HotSpotVirtualMachineDescriptor | back to summary |
|---|---|
| pack-priv HotSpotVirtualMachineDescriptor(AttachProvider provider, String id, String displayName) | |
| isAttachable | back to summary |
|---|---|
| public boolean isAttachable() | |