| Package | Description |
|---|---|
| org.jolokia.jvmagent.client.command | |
| org.jolokia.jvmagent.client.util |
| Modifier and Type | Method and Description |
|---|---|
protected String |
AbstractBaseCommand.checkAgentUrl(Object pVm,
VirtualMachineHandlerOperations pHandler)
Check whether an agent is registered by checking the existance of the system property
JvmAgent.JOLOKIA_AGENT_URL. |
protected String |
AbstractBaseCommand.checkAgentUrl(Object pVm,
VirtualMachineHandlerOperations pHandler,
int delayInMs)
Check whether an agent is registered by checking the existance of the system property
JvmAgent.JOLOKIA_AGENT_URL. |
int |
CommandDispatcher.dispatchCommand(Object pVm,
VirtualMachineHandlerOperations pHandler)
Dispatch the command
|
protected Properties |
AbstractBaseCommand.getAgentSystemProperties(Object pVm,
VirtualMachineHandlerOperations pHandler)
Execute
VirtualMachine.getSystemProperties() via reflection |
protected String |
AbstractBaseCommand.getProcessDescription(VirtualMachineHandlerOperations pHandler,
OptionsAndArgs pOpts)
Get a description of the process attached, either the numeric id only or, if a pattern is given,
the pattern and the associated PID
|
protected void |
AbstractBaseCommand.loadAgent(Object pVm,
VirtualMachineHandlerOperations pHandler,
OptionsAndArgs pOpts,
String... pAdditionalOpts)
Execute
com.sun.tools.attach.VirtualMachine#loadAgent(String, String) |
| Modifier and Type | Method and Description |
|---|---|
static VirtualMachineHandlerOperations |
PlatformUtils.createVMAccess(OptionsAndArgs options) |
| Modifier and Type | Method and Description |
|---|---|
static String |
PlatformUtils.getProcessId(VirtualMachineHandlerOperations pHandler,
OptionsAndArgs pOpts)
Get the process id, either directly from option's ID or by looking up a regular expression for java process name
(but not this java process)
|
Copyright © 2022. All rights reserved.