public interface CandidateHarvester
Component
.Modifier and Type | Method and Description |
---|---|
HarvestStatistics |
getHarvestStatistics()
Returns the statistics describing how well the various harvests of this
harvester went.
|
Collection<LocalCandidate> |
harvest(Component component)
Gathers all candidate addresses of the type that this
CandidateHarvester supports.
|
boolean |
isHostHarvester()
Returns true if this CandidateHarvester is to be
considered a harvester for host candidates.
|
Collection<LocalCandidate> harvest(Component component)
Component.addLocalCandidate(LocalCandidate)
as soon as they are
discovered.component
- the Component
that we'd like to gather candidate
addresses for.HarvestStatistics getHarvestStatistics()
HarvestStatistics
describing this harvester's
harvests.boolean isHostHarvester()
Copyright © 2018. All rights reserved.