class CandidateHarvesterSetTask extends Object implements Runnable
CandidateHarvester.harvest(Component)
on the specified
harvesters.Modifier and Type | Field and Description |
---|---|
private Collection<Component> |
components
The
Component s whose addresses we will be harvesting in this
task. |
private CandidateHarvesterSetElement |
harvester
The CandidateHarvester on which
CandidateHarvester.harvest(org.ice4j.ice.Component) is to be or
is being called. |
private static Logger |
logger
The Logger used by the CandidateHarvesterSetTask
class and its instances for logging output.
|
private TrickleCallback |
trickleCallback
The callback that we will be notifying every time a harvester completes.
|
Constructor and Description |
---|
CandidateHarvesterSetTask(CandidateHarvesterSetElement harvester,
Collection<Component> components,
TrickleCallback trickleCallback)
Initializes a new CandidateHarvesterSetTask which is to
call
CandidateHarvester.harvest(org.ice4j.ice.Component) on a
specific harvester and then as many harvesters as possible. |
Modifier and Type | Method and Description |
---|---|
CandidateHarvesterSetElement |
getHarvester()
Gets the CandidateHarvester on which
CandidateHarvester.harvest(org.ice4j.ice.Component) is being
called. |
void |
run()
Runs the actual harvesting for this component
|
private static final Logger logger
private CandidateHarvesterSetElement harvester
CandidateHarvester.harvest(org.ice4j.ice.Component)
is to be or
is being called.private Collection<Component> components
Component
s whose addresses we will be harvesting in this
task.private final TrickleCallback trickleCallback
public CandidateHarvesterSetTask(CandidateHarvesterSetElement harvester, Collection<Component> components, TrickleCallback trickleCallback)
CandidateHarvester.harvest(org.ice4j.ice.Component)
on a
specific harvester and then as many harvesters as possible.harvester
- the CandidateHarvester on which the
new instance is to callcomponents
- the Component whose candidates we are currently
gathering.
CandidateHarvester#harvest(Component) firstpublic CandidateHarvesterSetElement getHarvester()
CandidateHarvester.harvest(org.ice4j.ice.Component)
is being
called.Copyright © 2018. All rights reserved.