Class DependencyQueue
java.lang.Object
org.opendaylight.ovsdb.hwvtepsouthbound.transact.DependencyQueue
-
Constructor Summary
ConstructorDescriptionDependencyQueue
(ScheduledExecutorService executor, HwvtepDeviceInfo hwvtepDeviceInfo) -
Method Summary
Modifier and TypeMethodDescriptionboolean
addToQueue
(DependentJob waitingJob) Tries to add the job to the waiting queue.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
-
submit
-