Class DependencyQueue

java.lang.Object
org.opendaylight.ovsdb.hwvtepsouthbound.transact.DependencyQueue

public class DependencyQueue extends Object
  • Constructor Details

  • Method Details

    • addToQueue

      public boolean addToQueue(DependentJob waitingJob)
      Tries to add the job to the waiting queue.
      Parameters:
      waitingJob - The job to be enqueued
      Returns:
      true if it is successfully added to the queue
    • processReadyJobsFromConfigQueue

      public void processReadyJobsFromConfigQueue(HwvtepConnectionInstance connectionInstance)
      Checks if any config data dependent jobs are ready to be processed and process them.
      Parameters:
      connectionInstance - The connection instance
    • processReadyJobsFromOpQueue

      public void processReadyJobsFromOpQueue(HwvtepConnectionInstance connectionInstance)
      Checks if any operational data dependent jobs are ready to be processed and process them.
      Parameters:
      connectionInstance - The connection instance
    • close

      public static void close()
    • submit

      public void submit(Runnable runnable)