Package org.opendaylight.genius.itm.impl
Class TunnelMonitoringConfig
- java.lang.Object
-
- org.opendaylight.genius.itm.impl.TunnelMonitoringConfig
-
- All Implemented Interfaces:
java.lang.AutoCloseable
@Singleton public class TunnelMonitoringConfig extends java.lang.Object implements java.lang.AutoCloseable
Maintains configuration for tunnel monitoring parameters.- Author:
- Thomas Pantelis
-
-
Constructor Summary
Constructors Constructor Description TunnelMonitoringConfig(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.infrautils.caches.CacheProvider cacheProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
getMonitorInterval()
java.lang.Class<? extends TunnelMonitoringTypeBase>
getMonitorProtocol()
boolean
isTunnelMonitoringEnabled()
-
-
-
Method Detail
-
isTunnelMonitoringEnabled
public boolean isTunnelMonitoringEnabled()
-
getMonitorProtocol
public java.lang.Class<? extends TunnelMonitoringTypeBase> getMonitorProtocol()
-
getMonitorInterval
public int getMonitorInterval()
-
close
@PreDestroy public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
-