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