public class JolokiaDiscovery extends Object implements JolokiaDiscoveryMBean
OBJECT_NAME| Constructor and Description |
|---|
JolokiaDiscovery(String pAgentId,
LogHandler pLogHandler) |
| Modifier and Type | Method and Description |
|---|---|
List |
lookupAgents()
Lookup agents with a timeout of 1 second
|
List |
lookupAgentsWithTimeout(int pTimeout)
Lookup agents.
|
public JolokiaDiscovery(String pAgentId, LogHandler pLogHandler)
public List lookupAgents() throws IOException
lookupAgents in interface JolokiaDiscoveryMBeanIOExceptionpublic List lookupAgentsWithTimeout(int pTimeout) throws IOException
lookupAgentsWithTimeout in interface JolokiaDiscoveryMBeanIOExceptionCopyright © 2017. All rights reserved.