Interface GenericStatistics
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,Duration
- All Known Subinterfaces:
FlowAndStatisticsMap
,FlowAndStatisticsMapList
,FlowStatistics
public interface GenericStatistics extends org.opendaylight.yangtools.yang.binding.DataObject, Duration
Generic grouping for statisticsThis class represents the following YANG schema fragment defined in module opendaylight-statistics-types
grouping generic-statistics { leaf packet-count { type yang:counter64; } leaf byte-count { type yang:counter64; } uses duration; }
The schema path to identify an instance is opendaylight-statistics-types/generic-statistics
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64
getByteCount()
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64
getPacketCount()
Class<? extends GenericStatistics>
implementedInterface()
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.model.statistics.types.rev130925.Duration
getDuration
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends GenericStatistics> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceDuration
-
getPacketCount
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 getPacketCount()
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64
packetCount
, ornull
if not present
-
getByteCount
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 getByteCount()
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64
byteCount
, ornull
if not present
-
-