Package org.onosproject.net.pi.runtime
Class PiCounterCellData
- java.lang.Object
-
- org.onosproject.net.pi.runtime.PiCounterCellData
-
@Beta public final class PiCounterCellData extends Object
Data of a counter cell of a protocol-independent pipeline.
-
-
Constructor Summary
Constructors Constructor Description PiCounterCellData(long packets, long bytes)
Creates a new counter cell data for the given number of packets and bytes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
bytes()
Returns the byte count value contained by this counter data.boolean
equals(Object o)
int
hashCode()
long
packets()
Returns the packet count value contained by this counter data.String
toString()
-