public class RangeChunker extends Object
This class generates a list of DiscoveryJob
instances that
are based on a "chunk" of a number of IP addresses that should be
polled as part of each job.
DiscoveryConfiguration
List
Constructor and Description |
---|
RangeChunker(IpAddressFilter ipAddressFilter) |
Modifier and Type | Method and Description |
---|---|
Map<String,List<DiscoveryJob>> |
chunk(DiscoveryConfiguration config) |
protected static boolean |
isConsecutive(IPPollRange range,
IPPollRange address) |
public RangeChunker(IpAddressFilter ipAddressFilter)
public Map<String,List<DiscoveryJob>> chunk(DiscoveryConfiguration config)
protected static boolean isConsecutive(IPPollRange range, IPPollRange address)
Copyright © 2021. All rights reserved.