Class ItmTzInstanceRecoveryHandler
- java.lang.Object
-
- org.opendaylight.serviceutils.tools.mdsal.listener.AbstractSyncDataTreeChangeListener<StateTunnelList>
-
- org.opendaylight.genius.itm.recovery.impl.ItmTzInstanceRecoveryHandler
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.EventListener
,org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<StateTunnelList>
,org.opendaylight.serviceutils.srm.ServiceRecoveryInterface
,org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<StateTunnelList>
@Singleton public class ItmTzInstanceRecoveryHandler extends org.opendaylight.serviceutils.tools.mdsal.listener.AbstractSyncDataTreeChangeListener<StateTunnelList> implements org.opendaylight.serviceutils.srm.ServiceRecoveryInterface
-
-
Constructor Summary
Constructors Constructor Description ItmTzInstanceRecoveryHandler(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator, org.opendaylight.serviceutils.srm.ServiceRecoveryRegistry serviceRecoveryRegistry, EntityOwnershipUtils entityOwnershipUtils, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipService, DataTreeEventCallbackRegistrar eventCallbacks, IInterfaceManager interfaceManager, DpnTepStateCache dpnTepStateCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Default Methods Deprecated Methods Modifier and Type Method Description default void
add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> arg0, T arg1)
Deprecated.void
add(T arg0)
Deprecated.void
addAfterListener(org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<T> arg0)
void
addBeforeListener(org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<T> arg0)
void
close()
protected org.opendaylight.controller.md.sal.binding.api.DataBroker
getDataBroker()
protected org.opendaylight.serviceutils.tools.mdsal.listener.DataStoreMetrics
getDataStoreMetrics()
default void
onDataTreeChanged(java.util.Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<T>> arg0, org.opendaylight.serviceutils.tools.mdsal.listener.DataStoreMetrics arg1)
Deprecated.void
recoverService(java.lang.String entityId)
void
register()
default void
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> arg0, T arg1)
Deprecated.void
remove(T arg0)
Deprecated.default void
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> arg0, T arg1, T arg2)
Deprecated.void
update(T arg0, T arg1)
Deprecated.
-
-
-
Constructor Detail
-
ItmTzInstanceRecoveryHandler
@Inject public ItmTzInstanceRecoveryHandler(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator, org.opendaylight.serviceutils.srm.ServiceRecoveryRegistry serviceRecoveryRegistry, EntityOwnershipUtils entityOwnershipUtils, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipService, DataTreeEventCallbackRegistrar eventCallbacks, IInterfaceManager interfaceManager, DpnTepStateCache dpnTepStateCache)
-
-
Method Detail
-
recoverService
public void recoverService(java.lang.String entityId)
- Specified by:
recoverService
in interfaceorg.opendaylight.serviceutils.srm.ServiceRecoveryInterface
-
addBeforeListener
public void addBeforeListener(org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<T> arg0)
- Specified by:
addBeforeListener
in interfaceorg.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<T extends org.opendaylight.yangtools.yang.binding.DataObject>
-
addAfterListener
public void addAfterListener(org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<T> arg0)
- Specified by:
addAfterListener
in interfaceorg.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<T extends org.opendaylight.yangtools.yang.binding.DataObject>
-
register
@PostConstruct public void register()
-
getDataBroker
protected org.opendaylight.controller.md.sal.binding.api.DataBroker getDataBroker()
-
getDataStoreMetrics
protected org.opendaylight.serviceutils.tools.mdsal.listener.DataStoreMetrics getDataStoreMetrics()
-
close
@PreDestroy public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
add
@Deprecated public void add(T arg0)
Deprecated.
-
remove
@Deprecated public void remove(T arg0)
Deprecated.
-
update
@Deprecated public void update(T arg0, T arg1)
Deprecated.
-
onDataTreeChanged
public default void onDataTreeChanged(java.util.Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<T>> arg0, org.opendaylight.serviceutils.tools.mdsal.listener.DataStoreMetrics arg1)
Deprecated.
-
add
public default void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> arg0, T arg1)
Deprecated.
-
remove
public default void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> arg0, T arg1)
Deprecated.
-
update
public default void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> arg0, T arg1, T arg2)
Deprecated.
-
-