Class DependentJob.OpWaitingJob<T extends org.opendaylight.yangtools.yang.binding.Identifiable>
java.lang.Object
org.opendaylight.ovsdb.hwvtepsouthbound.transact.DependentJob<T>
org.opendaylight.ovsdb.hwvtepsouthbound.transact.DependentJob.OpWaitingJob<T>
- Enclosing class:
- DependentJob<T extends org.opendaylight.yangtools.yang.binding.Identifiable>
public abstract static class DependentJob.OpWaitingJob<T extends org.opendaylight.yangtools.yang.binding.Identifiable>
extends DependentJob<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opendaylight.ovsdb.hwvtepsouthbound.transact.DependentJob
DependentJob.ConfigWaitingJob<T extends org.opendaylight.yangtools.yang.binding.Identifiable>, DependentJob.OpWaitingJob<T extends org.opendaylight.yangtools.yang.binding.Identifiable>
-
Constructor Summary
ConstructorDescriptionOpWaitingJob
(org.opendaylight.yangtools.yang.binding.InstanceIdentifier key, T data, Map<Class<? extends org.opendaylight.yangtools.yang.binding.DataObject>, List<org.opendaylight.yangtools.yang.binding.InstanceIdentifier>> dependencies, long transactionId) -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected boolean
isDependencyMet
(HwvtepDeviceInfo deviceInfo, Class cls, org.opendaylight.yangtools.yang.binding.InstanceIdentifier iid) This method is to check if all the given dependency of this job or not.Methods inherited from class org.opendaylight.ovsdb.hwvtepsouthbound.transact.DependentJob
getData, getDependencies, getKey, getTransactionId, onDependencyResolved, onFailure, onSuccess
-
Constructor Details
-
OpWaitingJob
-
-
Method Details
-
isDependencyMet
protected boolean isDependencyMet(HwvtepDeviceInfo deviceInfo, Class cls, org.opendaylight.yangtools.yang.binding.InstanceIdentifier iid) Description copied from class:DependentJob
This method is to check if all the given dependency of this job or not.- Specified by:
isDependencyMet
in classDependentJob<T extends org.opendaylight.yangtools.yang.binding.Identifiable>
- Parameters:
deviceInfo
- The device info of tis jobcls
- dependency type to be checked foriid
- instance identifier to be checked for- Returns:
- true if the dependency is met
-
isConfigWaitingJob
public boolean isConfigWaitingJob()- Overrides:
isConfigWaitingJob
in classDependentJob<T extends org.opendaylight.yangtools.yang.binding.Identifiable>
-