Class 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.
      • Methods inherited from class org.opendaylight.serviceutils.tools.mdsal.listener.AbstractSyncDataTreeChangeListener

        onDataTreeChanged
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 interface org.opendaylight.serviceutils.srm.ServiceRecoveryInterface
      • addBeforeListener

        public void addBeforeListener​(org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<T> arg0)
        Specified by:
        addBeforeListener in interface org.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 interface org.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 interface java.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.