
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
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.
*
* @patam pTimeout timeout for the lookup in milliseconds
* @return an array with JSON objects containing the agent details discovered
*/
List lookupAgentsWithTimeout(int pTimeout) throws IOException;
/**
* Lookup agents with a timeout of 1 second
*
* @return an array with JSON objects containing the agent details discovered
*/
List lookupAgents() throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy