Class GroupStatsMultipartWriter
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.datastore.multipart.AbstractMultipartWriter<GroupStatisticsReply>
-
- org.opendaylight.openflowplugin.impl.datastore.multipart.GroupStatsMultipartWriter
-
public class GroupStatsMultipartWriter extends AbstractMultipartWriter<GroupStatisticsReply>
-
-
Constructor Summary
Constructors Constructor Description GroupStatsMultipartWriter(DeviceContext deviceContext, 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<GroupStatisticsReply>
getType()
Get type of writer.void
storeStatistics(GroupStatisticsReply statistics, boolean withParents)
Write statistics.-
Methods inherited from class org.opendaylight.openflowplugin.impl.datastore.multipart.AbstractMultipartWriter
getInstanceIdentifier, write, writeToTransaction
-
-
-
-
Constructor Detail
-
GroupStatsMultipartWriter
public GroupStatsMultipartWriter(DeviceContext deviceContext, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> instanceIdentifier)
-
-
Method Detail
-
getType
protected Class<GroupStatisticsReply> getType()
Description copied from class:AbstractMultipartWriter
Get type of writer.- Specified by:
getType
in classAbstractMultipartWriter<GroupStatisticsReply>
- Returns:
- type of writer
-
storeStatistics
public void storeStatistics(GroupStatisticsReply statistics, boolean withParents)
Description copied from class:AbstractMultipartWriter
Write statistics.- Specified by:
storeStatistics
in classAbstractMultipartWriter<GroupStatisticsReply>
- Parameters:
statistics
- statisticswithParents
- write missing parents if needed (slower)
-
-