Class ItmTzInstanceRecoveryHandler

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.util.EventListener, org.opendaylight.mdsal.binding.api.DataTreeChangeListener<StateTunnelList>, org.opendaylight.serviceutils.srm.ServiceRecoveryInterface, org.opendaylight.serviceutils.tools.listener.ChainableDataTreeChangeListener<StateTunnelList>

    @Singleton
    public class ItmTzInstanceRecoveryHandler
    extends org.opendaylight.serviceutils.tools.listener.AbstractSyncDataTreeChangeListener<StateTunnelList>
    implements org.opendaylight.serviceutils.srm.ServiceRecoveryInterface
    • Constructor Summary

      Constructors 
      Constructor Description
      ItmTzInstanceRecoveryHandler​(org.opendaylight.mdsal.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)  
      void add​(T arg0)
      Deprecated.
      void addAfterListener​(org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T> arg0)  
      void addBeforeListener​(org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T> arg0)  
      void close()  
      protected org.opendaylight.mdsal.binding.api.DataBroker getDataBroker()  
      protected org.opendaylight.serviceutils.tools.listener.DataStoreMetrics getDataStoreMetrics()  
      default void onDataTreeChanged​(java.util.Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<T>> arg0, org.opendaylight.serviceutils.tools.listener.DataStoreMetrics arg1)  
      void recoverService​(java.lang.String entityId)  
      void register()  
      default void remove​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> arg0, T arg1)  
      void remove​(T arg0)
      Deprecated.
      default void update​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> arg0, T arg1, T arg2)  
      void update​(T arg0, T arg1)
      Deprecated.
      • Methods inherited from class org.opendaylight.serviceutils.tools.listener.AbstractSyncDataTreeChangeListener

        onDataTreeChanged
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener

        onInitialData
    • Constructor Detail

      • ItmTzInstanceRecoveryHandler

        @Inject
        public ItmTzInstanceRecoveryHandler​(org.opendaylight.mdsal.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.mdsal.binding.api.DataTreeChangeListener<T> arg0)
        Specified by:
        addBeforeListener in interface org.opendaylight.serviceutils.tools.listener.ChainableDataTreeChangeListener<T extends org.opendaylight.yangtools.yang.binding.DataObject>
      • addAfterListener

        public void addAfterListener​(org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T> arg0)
        Specified by:
        addAfterListener in interface org.opendaylight.serviceutils.tools.listener.ChainableDataTreeChangeListener<T extends org.opendaylight.yangtools.yang.binding.DataObject>
      • register

        @PostConstruct
        public void register()
      • getDataBroker

        protected org.opendaylight.mdsal.binding.api.DataBroker getDataBroker()
      • getDataStoreMetrics

        protected org.opendaylight.serviceutils.tools.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.mdsal.binding.api.DataTreeModification<T>> arg0,
                                              org.opendaylight.serviceutils.tools.listener.DataStoreMetrics arg1)
      • add

        public default void add​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> arg0,
                                T arg1)
      • remove

        public default void remove​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> arg0,
                                   T arg1)
      • update

        public default void update​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> arg0,
                                   T arg1,
                                   T arg2)