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.
|
List |
lookupAgentsWithTimeoutAndMulticastAddress(int pTimeout,
String pMulticastGroup,
int pMulticastPort)
Lookup agents.
|
public JolokiaDiscovery(String pAgentId, LogHandler pLogHandler)
public List lookupAgents() throws IOException
lookupAgents
in interface JolokiaDiscoveryMBean
IOException
public List lookupAgentsWithTimeout(int pTimeout) throws IOException
lookupAgentsWithTimeout
in interface JolokiaDiscoveryMBean
pTimeout
- timeout for the lookup in millisecondsIOException
public List lookupAgentsWithTimeoutAndMulticastAddress(int pTimeout, String pMulticastGroup, int pMulticastPort) throws IOException
lookupAgentsWithTimeoutAndMulticastAddress
in interface JolokiaDiscoveryMBean
pTimeout
- timeout for the lookup in millisecondspMulticastGroup
- multicast IPv4 addresspMulticastPort
- multicast portIOException
Copyright © 2021. All rights reserved.