Class SimpleMonitoredService

    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleMonitoredService​(java.net.InetAddress ipAddress, int nodeId, java.lang.String nodeLabel, java.lang.String svcName)
      Instantiates a new simple monitored service.
      SimpleMonitoredService​(java.net.InetAddress ipAddress, int nodeId, java.lang.String nodeLabel, java.lang.String svcName, java.lang.String location)  
      SimpleMonitoredService​(java.net.InetAddress ipAddress, java.lang.String svcName)
      Instantiates a new simple monitored service.
      SimpleMonitoredService​(java.net.InetAddress ipAddress, java.lang.String svcName, java.lang.String location)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.InetAddress getAddress()
      Returns the InetAddress associated with the service
      java.lang.String getIpAddr()
      Returns the ipAddr string associated with this monitored service.
      int getNodeId()
      Returns the nodeId of the node that this service is associated with.
      java.lang.String getNodeLabel()
      Returns the label of the node that this service is associated with.
      java.lang.String getNodeLocation()
      Returns the name of the location of the node that this service is associated with.
      java.lang.String getSvcName()
      Returns the svcName associated with this monitored service.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleMonitoredService

        public SimpleMonitoredService​(java.net.InetAddress ipAddress,
                                      int nodeId,
                                      java.lang.String nodeLabel,
                                      java.lang.String svcName,
                                      java.lang.String location)
      • SimpleMonitoredService

        public SimpleMonitoredService​(java.net.InetAddress ipAddress,
                                      int nodeId,
                                      java.lang.String nodeLabel,
                                      java.lang.String svcName)
        Instantiates a new simple monitored service.
        Parameters:
        ipAddress - the IP address
        nodeId - the node id
        nodeLabel - the node label
        svcName - the service name
      • SimpleMonitoredService

        public SimpleMonitoredService​(java.net.InetAddress ipAddress,
                                      java.lang.String svcName)
        Instantiates a new simple monitored service.
        Parameters:
        ipAddress - the IP address
        svcName - the service name
      • SimpleMonitoredService

        public SimpleMonitoredService​(java.net.InetAddress ipAddress,
                                      java.lang.String svcName,
                                      java.lang.String location)
    • Method Detail

      • getSvcName

        public java.lang.String getSvcName()
        Description copied from interface: MonitoredService
        Returns the svcName associated with this monitored service.
        Specified by:
        getSvcName in interface MonitoredService
        Returns:
        the svcName
      • getIpAddr

        public java.lang.String getIpAddr()
        Description copied from interface: MonitoredService
        Returns the ipAddr string associated with this monitored service.
        Specified by:
        getIpAddr in interface MonitoredService
        Returns:
        the ipAddr string
      • getNodeId

        public int getNodeId()
        Description copied from interface: MonitoredService
        Returns the nodeId of the node that this service is associated with.
        Specified by:
        getNodeId in interface MonitoredService
        Returns:
        the nodeid
      • getNodeLabel

        public java.lang.String getNodeLabel()
        Description copied from interface: MonitoredService
        Returns the label of the node that this service is associated with.
        Specified by:
        getNodeLabel in interface MonitoredService
        Returns:
        the nodelabel
      • getAddress

        public java.net.InetAddress getAddress()
        Description copied from interface: MonitoredService
        Returns the InetAddress associated with the service
        Specified by:
        getAddress in interface MonitoredService
        Returns:
        the InetAddress
      • getNodeLocation

        public java.lang.String getNodeLocation()
        Description copied from interface: MonitoredService
        Returns the name of the location of the node that this service is associated with.
        Specified by:
        getNodeLocation in interface MonitoredService
        Returns:
        the nodelocation