Class PingSweepRequestDTO

    • Constructor Detail

      • PingSweepRequestDTO

        public PingSweepRequestDTO()
    • 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
      • 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
      • setLocation

        public void setLocation​(String location)
      • getPacketSize

        public int getPacketSize()
      • setPacketSize

        public void setPacketSize​(int packetSize)
      • getPacketsPerSecond

        public double getPacketsPerSecond()
      • setPacketsPerSecond

        public void setPacketsPerSecond​(double packetsPerSecond)
      • addIpRange

        public void addIpRange​(IPRangeDTO range)
      • setIpRanges

        public void setIpRanges​(List<IPRangeDTO> ipRanges)
      • 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
      • 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