Class VpnOpDataSyncer
- java.lang.Object
-
- org.opendaylight.netvirt.vpnmanager.VpnOpDataSyncer
-
@Singleton public class VpnOpDataSyncer extends java.lang.Object
Aims to provide a common synchronization point for all those classes that want to know when certain type of Operational data is ready for a given VPN, and those others that can notify that the Operational data is ready.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VpnOpDataSyncer.VpnOpDataType
-
Constructor Summary
Constructors Constructor Description VpnOpDataSyncer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
notifyVpnOpDataReady(VpnOpDataSyncer.VpnOpDataType dataType, java.lang.String vpnName)
boolean
waitForVpnDataReady(VpnOpDataSyncer.VpnOpDataType dataType, java.lang.String vpnName, long maxWaitMillis)
boolean
waitForVpnDataReady(VpnOpDataSyncer.VpnOpDataType vpnOpDataType, java.lang.String vpnName, long maxWaitMillis, int maxAttempts)
-
-
-
Method Detail
-
waitForVpnDataReady
public boolean waitForVpnDataReady(VpnOpDataSyncer.VpnOpDataType vpnOpDataType, java.lang.String vpnName, long maxWaitMillis, int maxAttempts)
-
waitForVpnDataReady
public boolean waitForVpnDataReady(VpnOpDataSyncer.VpnOpDataType dataType, java.lang.String vpnName, long maxWaitMillis)
-
notifyVpnOpDataReady
public void notifyVpnOpDataReady(VpnOpDataSyncer.VpnOpDataType dataType, java.lang.String vpnName)
-
-