Class PdrStats.Builder
- java.lang.Object
- 
- org.onosproject.net.behaviour.upf.PdrStats.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PdrStatsbuild()PdrStats.BuildersetEgress(long egressPkts, long egressBytes)Set the number of packets and bytes that hit the PDR counter in the dataplane egress pipeline.PdrStats.BuildersetIngress(long ingressPkts, long ingressBytes)Set the number of packets and bytes that hit the PDR counter in the dataplane ingress pipeline.PdrStats.BuilderwithCellId(int cellId)Set the Cell ID (index) of the datalane PDR counter that produced this set of stats.
 
- 
- 
- 
Method Detail- 
withCellIdpublic PdrStats.Builder withCellId(int cellId) Set the Cell ID (index) of the datalane PDR counter that produced this set of stats.- Parameters:
- cellId- the counter cell ID
- Returns:
- This builder
 
 - 
setIngresspublic PdrStats.Builder setIngress(long ingressPkts, long ingressBytes) Set the number of packets and bytes that hit the PDR counter in the dataplane ingress pipeline.- Parameters:
- ingressPkts- ingress packet count
- ingressBytes- egress packet count
- Returns:
- This builder
 
 - 
setEgresspublic PdrStats.Builder setEgress(long egressPkts, long egressBytes) Set the number of packets and bytes that hit the PDR counter in the dataplane egress pipeline.- Parameters:
- egressPkts- egress packet count
- egressBytes- egress byte count
- Returns:
- This builder
 
 - 
buildpublic PdrStats build() 
 
- 
 
-