public class DependencyQueue extends Object
Constructor and Description |
---|
DependencyQueue(HwvtepDeviceInfo hwvtepDeviceInfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
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 |
submit(Runnable runnable) |
public DependencyQueue(HwvtepDeviceInfo hwvtepDeviceInfo)
public boolean addToQueue(DependentJob waitingJob)
waitingJob
- The job to be enqueuedpublic void processReadyJobsFromConfigQueue(HwvtepConnectionInstance connectionInstance)
connectionInstance
- The connection instancepublic void processReadyJobsFromOpQueue(HwvtepConnectionInstance connectionInstance)
connectionInstance
- The connection instancepublic static void close()
public void submit(Runnable runnable)
Copyright © 2018 OpenDaylight. All rights reserved.