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