Class VpnClusterOwnershipDriverBase
- java.lang.Object
-
- org.opendaylight.netvirt.vpnmanager.VpnClusterOwnershipDriverBase
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IVpnClusterOwnershipDriver
- Direct Known Subclasses:
VpnClusterEosBasedOwnershipDriver
,VpnClusterShardBasedOwnershipDriver
@Singleton public class VpnClusterOwnershipDriverBase extends java.lang.Object implements IVpnClusterOwnershipDriver, java.lang.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
amIOwner
static java.lang.String
VPN_SERVICE_ENTITY
-
Constructor Summary
Constructors Constructor Description VpnClusterOwnershipDriverBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
amIOwner()
void
close()
-
-
-
Field Detail
-
VPN_SERVICE_ENTITY
public static final java.lang.String VPN_SERVICE_ENTITY
- See Also:
- Constant Field Values
-
amIOwner
protected boolean amIOwner
-
-
Method Detail
-
close
@PreDestroy public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
amIOwner
public boolean amIOwner()
- Specified by:
amIOwner
in interfaceIVpnClusterOwnershipDriver
-
-