@Beta public final class PiCounterCellData extends 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(Object o) |
int |
hashCode() |
long |
packets()
Returns the packet count value contained by this cell.
|
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()