Class PollerRequestDTO

    • Constructor Detail

      • PollerRequestDTO

        public PollerRequestDTO()
    • Method Detail

      • getLocation

        public String getLocation()
        Description copied from interface: RpcRequest
        Used to route the request to the appropriate location.
        Specified by:
        getLocation in interface RpcRequest
      • setLocation

        public void setLocation​(String location)
      • setSystemId

        public void setSystemId​(String systemId)
      • getSystemId

        public String getSystemId()
        Description copied from interface: RpcRequest
        Used to route the request to a particular system at the given location.
        Specified by:
        getSystemId in interface RpcRequest
      • getClassName

        public String getClassName()
      • setClassName

        public void setClassName​(String className)
      • getServiceName

        public String getServiceName()
      • setServiceName

        public void setServiceName​(String serviceName)
      • setAddress

        public void setAddress​(InetAddress address)
      • getIpAddr

        public 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
      • setNodeId

        public void setNodeId​(int nodeId)
      • setNodeLabel

        public void setNodeLabel​(String nodeLabel)
      • getNodeLocation

        public 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
      • setNodeLocation

        public void setNodeLocation​(String nodeLocation)
      • addAttribute

        public void addAttribute​(String key,
                                 Object value)
      • addAttributes

        public void addAttributes​(Map<String,​Object> attributes)
      • setTimeToLiveMs

        public void setTimeToLiveMs​(Long timeToLiveMs)
      • getTimeToLiveMs

        public Long getTimeToLiveMs()
        Description copied from interface: RpcRequest
        When using JMS, the request will fail if no response was received in this many milliseconds.
        Specified by:
        getTimeToLiveMs in interface RpcRequest
      • getTracingInfo

        public Map<String,​String> getTracingInfo()
        Description copied from interface: RpcRequest
        RPC clients expose tracing info as tags there by giving more context to each RPC trace. Implementations should add tags defined above if they are available.
        Specified by:
        getTracingInfo in interface RpcRequest
      • getSpan

        public io.opentracing.Span getSpan()
        Specified by:
        getSpan in interface RpcRequest
      • addTracingInfo

        public void addTracingInfo​(String key,
                                   String value)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object