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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addEntry(org.opendaylight.openflowplugin.applications.frm.nodeconfigurator.JobEntry entry)
     
    @Nullable org.opendaylight.openflowplugin.applications.frm.nodeconfigurator.JobEntry
     
    boolean
     
    @Nullable org.opendaylight.openflowplugin.applications.frm.nodeconfigurator.JobEntry
     
    void
    setExecutingEntry(@Nullable org.opendaylight.openflowplugin.applications.frm.nodeconfigurator.JobEntry executingEntry)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • JobQueue

      public JobQueue()
  • Method Details

    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class Object