Class JobQueue
- java.lang.Object
-
- org.opendaylight.openflowplugin.applications.frm.nodeconfigurator.JobQueue
-
public class JobQueue extends Object
A queue which holds job entries and the current running job.
-
-
Constructor Summary
Constructors Constructor Description JobQueue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEntry(org.opendaylight.openflowplugin.applications.frm.nodeconfigurator.JobEntry entry)
@Nullable org.opendaylight.openflowplugin.applications.frm.nodeconfigurator.JobEntry
getExecutingEntry()
boolean
isEmpty()
@Nullable org.opendaylight.openflowplugin.applications.frm.nodeconfigurator.JobEntry
poll()
void
setExecutingEntry(@Nullable org.opendaylight.openflowplugin.applications.frm.nodeconfigurator.JobEntry executingEntry)
String
toString()
-
-
-
Method Detail
-
addEntry
public void addEntry(org.opendaylight.openflowplugin.applications.frm.nodeconfigurator.JobEntry entry)
-
isEmpty
public boolean isEmpty()
-
poll
public @Nullable org.opendaylight.openflowplugin.applications.frm.nodeconfigurator.JobEntry poll()
-
getExecutingEntry
public @Nullable org.opendaylight.openflowplugin.applications.frm.nodeconfigurator.JobEntry getExecutingEntry()
-
setExecutingEntry
public void setExecutingEntry(@Nullable org.opendaylight.openflowplugin.applications.frm.nodeconfigurator.JobEntry executingEntry)
-
-