
org.jolokia.service.discovery.JolokiaDiscoveryMBean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jolokia-service-discovery Show documentation
Show all versions of jolokia-service-discovery Show documentation
Jolokia :: Service :: Agent Discovery
The newest version!
package org.jolokia.service.discovery;
import java.io.IOException;
import java.util.List;
/**
* MBean for looking up other agents
* @author roland
* @since 31.01.14
*/
public interface JolokiaDiscoveryMBean {
String OBJECT_NAME = "jolokia:type=Discovery";
/**
* Lookup agents.
*
* @param pTimeout timeout for the lookup in milliseconds
* @param pMulticastGroup multicast IPv4 address
* @param pMulticastPort multicast port
* @return a list with JSON objects containing the agent details discovered
* @throws java.io.IOException
*/
@SuppressWarnings("rawtypes")
List lookupAgentsWithTimeoutAndMulticastAddress(int pTimeout, String pMulticastGroup, int pMulticastPort) throws IOException;
/**
* Lookup agents.
*
* @param pTimeout timeout for the lookup in milliseconds
* @return a list with JSON objects containing the agent details discovered
* @throws java.io.IOException
*/
@SuppressWarnings("rawtypes")
List lookupAgentsWithTimeout(int pTimeout) throws IOException;
/**
* Lookup agents with a timeout of 1 second
*
* @return a list with JSON objects containing the agent details discovered
* @throws java.io.IOException
*/
@SuppressWarnings("rawtypes")
List lookupAgents() throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy