Interface JolokiaDiscoveryMBean

All Known Implementing Classes:
JolokiaDiscovery

public interface JolokiaDiscoveryMBean
MBean for looking up other agents
Since:
31.01.14
Author:
roland
  • Field Details

  • Method Details

    • lookupAgentsWithTimeoutAndMulticastAddress

      List lookupAgentsWithTimeoutAndMulticastAddress(int pTimeout, String pMulticastGroup, int pMulticastPort) throws IOException
      Lookup agents.
      Parameters:
      pTimeout - timeout for the lookup in milliseconds
      pMulticastGroup - multicast IPv4 address
      pMulticastPort - multicast port
      Returns:
      a list with JSON objects containing the agent details discovered
      Throws:
      IOException
    • lookupAgentsWithTimeout

      List lookupAgentsWithTimeout(int pTimeout) throws IOException
      Lookup agents.
      Parameters:
      pTimeout - timeout for the lookup in milliseconds
      Returns:
      a list with JSON objects containing the agent details discovered
      Throws:
      IOException
    • lookupAgents

      List lookupAgents() throws IOException
      Lookup agents with a timeout of 1 second
      Returns:
      a list with JSON objects containing the agent details discovered
      Throws:
      IOException