public class DiscoveryTaskExecutorImpl extends Object implements DiscoveryTaskExecutor
Constructor and Description |
---|
DiscoveryTaskExecutorImpl() |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
handleDiscoveryTask(DiscoveryConfiguration config)
Asynchronously discover the network using the given configuration.
|
void |
setEventForwarder(EventForwarder eventForwarder) |
void |
setLocationAwarePingClient(LocationAwarePingClient locationAwarePingClient) |
void |
setRangeChunker(RangeChunker rangeChunker) |
protected static Log |
toNewSuspectEvents(DiscoveryJob job,
PingSweepSummary summary) |
public CompletableFuture<Void> handleDiscoveryTask(DiscoveryConfiguration config)
DiscoveryTaskExecutor
handleDiscoveryTask
in interface DiscoveryTaskExecutor
config
- discovery configurationprotected static Log toNewSuspectEvents(DiscoveryJob job, PingSweepSummary summary)
public void setRangeChunker(RangeChunker rangeChunker)
public void setLocationAwarePingClient(LocationAwarePingClient locationAwarePingClient)
public void setEventForwarder(EventForwarder eventForwarder)
Copyright © 2019. All rights reserved.