@Beta
public final class PiCounterCellData
extends java.lang.Object
Constructor and Description |
---|
PiCounterCellData(PiCounterCellId cellId,
long packets,
long bytes)
Creates a new counter cell data for the given cell identifier, number of packets and bytes.
|
Modifier and Type | Method and Description |
---|---|
long |
bytes()
Returns the byte count value contained by this cell.
|
PiCounterCellId |
cellId()
Returns the cell identifier.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
long |
packets()
Returns the packet count value contained by this cell.
|
java.lang.String |
toString() |
public PiCounterCellData(PiCounterCellId cellId, long packets, long bytes)
cellId
- counter cell identifierpackets
- number of packetsbytes
- number of bytespublic PiCounterCellId cellId()
public long packets()
public long bytes()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object