@Beta
public interface PolicerEntry
| Modifier and Type | Method and Description |
|---|---|
void |
setLife(long life)
Set the amount of time the policer has existed in seconds.
|
void |
setProcessedBytes(long bytes)
Updates the number of bytes seen by the policer.
|
void |
setProcessedPackets(long packets)
Updates the number of packets seen by this policer.
|
void |
setReferenceCount(long count)
Sets how many are using this policer.
|
void 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.