Class TopologyStatsProviderImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void bind​(org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node,​org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey> nodeId, PcepSessionState sessionState)
      Register session to Session stats Registry handler.
      void close()  
      void onTransactionChainFailed​(org.opendaylight.mdsal.binding.api.TransactionChain chain, org.opendaylight.mdsal.binding.api.Transaction transaction, Throwable cause)  
      void onTransactionChainSuccessful​(org.opendaylight.mdsal.binding.api.TransactionChain chain)  
      void unbind​(org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node,​org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey> nodeId)
      Unregister Node from Stats Registry handler.
      void updateStats()  
    • Constructor Detail

      • TopologyStatsProviderImpl

        public TopologyStatsProviderImpl​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker,
                                         int updateIntervalSeconds)
      • TopologyStatsProviderImpl

        public TopologyStatsProviderImpl​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker,
                                         int updateIntervalSeconds,
                                         ScheduledExecutorService scheduler)
    • Method Detail

      • updateStats

        public void updateStats()
      • onTransactionChainFailed

        public void onTransactionChainFailed​(org.opendaylight.mdsal.binding.api.TransactionChain chain,
                                             org.opendaylight.mdsal.binding.api.Transaction transaction,
                                             Throwable cause)
        Specified by:
        onTransactionChainFailed in interface org.opendaylight.mdsal.binding.api.TransactionChainListener
      • onTransactionChainSuccessful

        public void onTransactionChainSuccessful​(org.opendaylight.mdsal.binding.api.TransactionChain chain)
        Specified by:
        onTransactionChainSuccessful in interface org.opendaylight.mdsal.binding.api.TransactionChainListener
      • bind

        public void bind​(org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node,​org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey> nodeId,
                         PcepSessionState sessionState)
        Description copied from interface: TopologySessionStatsRegistry
        Register session to Session stats Registry handler.
        Specified by:
        bind in interface TopologySessionStatsRegistry
        Parameters:
        nodeId - Identifier of the topology node where it will be stored session stats under DS
        sessionState - containing all Stats Session information
      • unbind

        public void unbind​(org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node,​org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey> nodeId)
        Description copied from interface: TopologySessionStatsRegistry
        Unregister Node from Stats Registry handler.
        Specified by:
        unbind in interface TopologySessionStatsRegistry
        Parameters:
        nodeId - Identifier of the topology node to be removed from registry