public class FlowStatsMultipartWriter extends AbstractMultipartWriter<FlowAndStatisticsMapList>
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
protected Class<FlowAndStatisticsMapList> |
getType()
Get type of writer.
|
void |
storeStatistics(FlowAndStatisticsMapList statistics,
boolean withParents)
Write statistics.
|
getInstanceIdentifier, write, writeToTransaction
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)
protected Class<FlowAndStatisticsMapList> getType()
AbstractMultipartWriter
getType
in class AbstractMultipartWriter<FlowAndStatisticsMapList>
public void storeStatistics(FlowAndStatisticsMapList statistics, boolean withParents)
AbstractMultipartWriter
storeStatistics
in class AbstractMultipartWriter<FlowAndStatisticsMapList>
statistics
- statisticswithParents
- write missing parents if needed (slower)Copyright © 2019 OpenDaylight. All rights reserved.