public class DiscoveryJob extends Object implements Serializable
| Modifier and Type | Field and Description | 
|---|---|
| static BigDecimal | FUDGE_FACTOR | 
| Constructor and Description | 
|---|
| DiscoveryJob(List<IPPollRange> ranges,
            String foreignSource,
            String location,
            double packetsPerSecond)Construct a  DiscoveryJob. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | calculateTaskTimeout()
 Returns the total task timeout in milliseconds for all IP ranges. | 
| boolean | equals(Object obj) | 
| Iterable<IPPollAddress> | getAddresses() | 
| String | getForeignSource() | 
| String | getLocation() | 
| double | getPacketsPerSecond() | 
| Collection<IPPollRange> | getRanges()For testing. | 
| int | hashCode() | 
| String | toString() | 
public static final BigDecimal FUDGE_FACTOR
public DiscoveryJob(List<IPPollRange> ranges, String foreignSource, String location, double packetsPerSecond)
DiscoveryJob. All ranges must have the 
 same foreignSource and location for the message to be routed correctly.ranges - foreignSource - location - packetsPerSecond - public Collection<IPPollRange> getRanges()
public Iterable<IPPollAddress> getAddresses()
public String getForeignSource()
public String getLocation()
public double getPacketsPerSecond()
public int calculateTaskTimeout()
Returns the total task timeout in milliseconds for all IP ranges.
Copyright © 2017. All rights reserved.