Class PortStatsMultipartWriter
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.datastore.multipart.AbstractMultipartWriter<NodeConnectorStatisticsAndPortNumberMap>
-
- org.opendaylight.openflowplugin.impl.datastore.multipart.PortStatsMultipartWriter
-
public class PortStatsMultipartWriter extends AbstractMultipartWriter<NodeConnectorStatisticsAndPortNumberMap>
-
-
Constructor Summary
Constructors Constructor Description PortStatsMultipartWriter(TxFacade txFacade, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> instanceIdentifier, FeaturesReply features)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Class<NodeConnectorStatisticsAndPortNumberMap>
getType()
Get type of writer.void
storeStatistics(NodeConnectorStatisticsAndPortNumberMap statistics, boolean withParents)
Write statistics.-
Methods inherited from class org.opendaylight.openflowplugin.impl.datastore.multipart.AbstractMultipartWriter
getInstanceIdentifier, write, writeToTransaction
-
-
-
-
Constructor Detail
-
PortStatsMultipartWriter
public PortStatsMultipartWriter(TxFacade txFacade, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> instanceIdentifier, FeaturesReply features)
-
-
Method Detail
-
getType
protected Class<NodeConnectorStatisticsAndPortNumberMap> getType()
Description copied from class:AbstractMultipartWriter
Get type of writer.- Specified by:
getType
in classAbstractMultipartWriter<NodeConnectorStatisticsAndPortNumberMap>
- Returns:
- type of writer
-
storeStatistics
public void storeStatistics(NodeConnectorStatisticsAndPortNumberMap statistics, boolean withParents)
Description copied from class:AbstractMultipartWriter
Write statistics.- Specified by:
storeStatistics
in classAbstractMultipartWriter<NodeConnectorStatisticsAndPortNumberMap>
- Parameters:
statistics
- statisticswithParents
- write missing parents if needed (slower)
-
-