Class TopologyStatsProviderImpl
- java.lang.Object
-
- org.opendaylight.bgpcep.pcep.topology.provider.TopologyStatsProviderImpl
-
- All Implemented Interfaces:
AutoCloseable
,EventListener
,org.opendaylight.mdsal.binding.api.TransactionChainListener
public final class TopologyStatsProviderImpl extends Object implements org.opendaylight.mdsal.binding.api.TransactionChainListener, AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description TopologyStatsProviderImpl(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, int updateIntervalSeconds)
TopologyStatsProviderImpl(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, int updateIntervalSeconds, ScheduledExecutorService scheduler)
-
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)
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)
-
-
-
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
-
close
public void close() throws InterruptedException, ExecutionException
- Specified by:
close
in interfaceAutoCloseable
- Throws:
InterruptedException
ExecutionException
-
onTransactionChainFailed
public void onTransactionChainFailed(org.opendaylight.mdsal.binding.api.TransactionChain chain, org.opendaylight.mdsal.binding.api.Transaction transaction, Throwable cause)
- Specified by:
onTransactionChainFailed
in interfaceorg.opendaylight.mdsal.binding.api.TransactionChainListener
-
onTransactionChainSuccessful
public void onTransactionChainSuccessful(org.opendaylight.mdsal.binding.api.TransactionChain chain)
- Specified by:
onTransactionChainSuccessful
in interfaceorg.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)
-
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)
-
-