@Singleton public class UnfiredCandidateActions extends Object
CandidateCrawlActions that still have to be fired to get a result.| Modifier and Type | Method and Description |
|---|---|
void |
addActions(com.google.common.collect.ImmutableList<CandidateElement> extract,
StateVertex currentState) |
StateVertex |
awaitNewTask() |
boolean |
isEmpty() |
void |
purgeActionsForState(StateVertex crawlTask) |
public void addActions(com.google.common.collect.ImmutableList<CandidateElement> extract, StateVertex currentState)
extract - The actions you want to add to a state.currentState - The state you are in.public boolean isEmpty()
public StateVertex awaitNewTask() throws InterruptedException
InterruptedException - when taking from the queue is interrupted.public void purgeActionsForState(StateVertex crawlTask)
Copyright © 2007-2013. All Rights Reserved.