public interface MeterEntry extends Meter
Meter.Builder, Meter.Unit| Modifier and Type | Method and Description |
|---|---|
void |
setLife(long life)
Set the amount of time the meter has existed in seconds.
|
void |
setProcessedBytes(long bytes)
Updates the number of bytes seen by the meter.
|
void |
setProcessedPackets(long packets)
Updates the number of packets seen by this meter.
|
void |
setReferenceCount(long count)
Sets the number of flows which are using this meter.
|
void |
setState(MeterState state)
Updates the state of this meter.
|
appId, bands, bytesSeen, deviceId, id, isBurst, life, meterCellId, packetsSeen, referenceCount, state, unitvoid setState(MeterState state)
state - a meter statevoid setLife(long life)
life - number of secondsvoid setReferenceCount(long count)
count - a reference count.void setProcessedPackets(long packets)
packets - a packet count.void setProcessedBytes(long bytes)
bytes - a byte counter.