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
ConstructorDescriptionPortStatsMultipartWriter
(TxFacade txFacade, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Node> instanceIdentifier, FeaturesReply features) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 Details
-
PortStatsMultipartWriter
public PortStatsMultipartWriter(TxFacade txFacade, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Node> instanceIdentifier, FeaturesReply features)
-
-
Method Details
-
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)
-