public interface StatPermCollector extends Runnable, AutoCloseable
Runnable and inside is running statistic collecting
process DataObject statistics by DataObject statistics for every FlowCapableNode.
Every statistics wait to finish previous statistics. Only if all statistics finish,
next FlowCapableNode
Statistics should be collecting. We are able to set minimal time for start next round cross all Network,
but all depends on network possibility.| Modifier and Type | Interface and Description |
|---|---|
static class |
StatPermCollector.StatCapabTypes
StatCapType
Enum class refers ofp_statistics capabilities fields from OF Switch
capabilities specification which have to come as a post HandShake
information from OF Switch and Inventory Manager adds all to the
Operational/DS.
|
| Modifier and Type | Method and Description |
|---|---|
void |
collectNextStatistics(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.transaction.rev150304.TransactionId xid)
Object notification for continue statistics collecting process.
|
boolean |
connectedNodeRegistration(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> nodeIdent,
List<StatPermCollector.StatCapabTypes> statTypes,
Short nrOfSwitchTables)
Add new connected node for permanent statistics collecting process
|
boolean |
disconnectedNodeUnregistration(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> nodeIdent)
All disconnected Nodes need be removed from stat list Nodes
|
boolean |
hasActiveNodes()
Method returns true if collector has registered some active nodes
otherwise return false.
|
boolean |
isProvidedFlowNodeActive(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> nodeIdent)
Method return true only and only if
StatPermCollector contain
valid node registration in its internal Node map. |
boolean |
registerAdditionalNodeFeature(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> nodeIdent,
StatPermCollector.StatCapabTypes statCapab)
Method add new feature
StatPermCollector.StatCapabTypes to Node identified by
nodeIdent -> InstanceIdentifier<Node> |
closeboolean connectedNodeRegistration(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> nodeIdent,
List<StatPermCollector.StatCapabTypes> statTypes,
Short nrOfSwitchTables)
nodeIdent - statTypes - nrOfSwitchTables - Node added successfulboolean disconnectedNodeUnregistration(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> nodeIdent)
nodeIdent - Node removed successfulboolean registerAdditionalNodeFeature(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> nodeIdent,
StatPermCollector.StatCapabTypes statCapab)
StatPermCollector.StatCapabTypes to Node identified by
nodeIdent -> InstanceIdentifier<Node>nodeIdent - StatPermCollector.StatCapabTypes add successfulboolean isProvidedFlowNodeActive(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> nodeIdent)
StatPermCollector contain
valid node registration in its internal Node map.
Otherwise return false.nodeIdent - void collectNextStatistics(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.transaction.rev150304.TransactionId xid)
boolean hasActiveNodes()
Copyright © 2015. All rights reserved.