Class DependencyQueue
java.lang.Object
org.opendaylight.ovsdb.hwvtepsouthbound.transact.DependencyQueue
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addToQueue
(DependentJob waitingJob) Tries to add the job to the waiting queue.static void
close()
void
processReadyJobsFromConfigQueue
(HwvtepConnectionInstance connectionInstance) Checks if any config data dependent jobs are ready to be processed and process them.void
processReadyJobsFromOpQueue
(HwvtepConnectionInstance connectionInstance) Checks if any operational data dependent jobs are ready to be processed and process them.void
-
Constructor Details
-
DependencyQueue
-
-
Method Details
-
addToQueue
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
Checks if any config data dependent jobs are ready to be processed and process them.- Parameters:
connectionInstance
- The connection instance
-
processReadyJobsFromOpQueue
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
-