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