Class QueueStatsMultipartWriter
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.datastore.multipart.AbstractMultipartWriter<QueueIdAndStatisticsMap>
-
- org.opendaylight.openflowplugin.impl.datastore.multipart.QueueStatsMultipartWriter
-
public class QueueStatsMultipartWriter extends AbstractMultipartWriter<QueueIdAndStatisticsMap>
-
-
Constructor Summary
Constructors Constructor Description QueueStatsMultipartWriter(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<QueueIdAndStatisticsMap>
getType()
Get type of writer.void
storeStatistics(QueueIdAndStatisticsMap statistics, boolean withParents)
Write statistics.-
Methods inherited from class org.opendaylight.openflowplugin.impl.datastore.multipart.AbstractMultipartWriter
getInstanceIdentifier, write, writeToTransaction
-
-
-
-
Constructor Detail
-
QueueStatsMultipartWriter
public QueueStatsMultipartWriter(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<QueueIdAndStatisticsMap> getType()
Description copied from class:AbstractMultipartWriter
Get type of writer.- Specified by:
getType
in classAbstractMultipartWriter<QueueIdAndStatisticsMap>
- Returns:
- type of writer
-
storeStatistics
public void storeStatistics(QueueIdAndStatisticsMap statistics, boolean withParents)
Description copied from class:AbstractMultipartWriter
Write statistics.- Specified by:
storeStatistics
in classAbstractMultipartWriter<QueueIdAndStatisticsMap>
- Parameters:
statistics
- statisticswithParents
- write missing parents if needed (slower)
-
-