@Beta public interface PolicerConfigurable extends HandlerBehaviour
Modifier and Type | Method and Description |
---|---|
void |
addPolicer(Policer policer) |
PolicerId |
allocatePolicerId()
Allocates a new policer id.
|
void |
deletePolicer(PolicerId id) |
void |
freePolicerId(PolicerId id)
Free a policer id.
|
Policer |
getPolicer(PolicerId policerId) |
Collection<Policer> |
getPolicers() |
handler, setHandler
PolicerId allocatePolicerId()
PolicerId.NONE
if there is a failurevoid freePolicerId(PolicerId id)
id
- the policer idvoid addPolicer(Policer policer)
void deletePolicer(PolicerId id)
Collection<Policer> getPolicers()