Class DependentJob.ConfigWaitingJob<T extends org.opendaylight.yangtools.yang.binding.KeyAware>
java.lang.Object
org.opendaylight.ovsdb.hwvtepsouthbound.transact.DependentJob<T>
org.opendaylight.ovsdb.hwvtepsouthbound.transact.DependentJob.ConfigWaitingJob<T>
- Enclosing class:
- DependentJob<T extends org.opendaylight.yangtools.yang.binding.KeyAware>
public abstract static class DependentJob.ConfigWaitingJob<T extends org.opendaylight.yangtools.yang.binding.KeyAware>
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.KeyAware>, DependentJob.OpWaitingJob<T extends org.opendaylight.yangtools.yang.binding.KeyAware>
-
Constructor Summary
ConstructorDescriptionConfigWaitingJob
(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) -
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
-
ConfigWaitingJob
-
-
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.KeyAware>
- 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.KeyAware>
-