![]() |
Open Kilda Java Documentation
|
Public Member Functions | |
synchronized Set< Integer > | getMetersByFlow (final String flowId) |
synchronized Set< Integer > | getMetersBySwitch (final SwitchId switchId) |
synchronized Integer | allocate (final SwitchId switchId, final String flowId, Integer meterId) |
synchronized Integer | allocate (final SwitchId switchId, final String flowId) |
synchronized Integer | deallocate (final SwitchId switchId, final String flowId) |
Allocates and deallocates meter ids.
Definition at line 32 of file MeterPool.java.
synchronized Integer org.openkilda.floodlight.switchmanager.MeterPool.allocate | ( | final SwitchId | switchId, |
final String | flowId, | ||
Integer | meterId | ||
) |
The method actually does allocate a method id, not previously allocated.
switchId | switch id. |
flowId | flow id. |
meterId | meter id. |
Definition at line 58 of file MeterPool.java.
synchronized Integer org.openkilda.floodlight.switchmanager.MeterPool.allocate | ( | final SwitchId | switchId, |
final String | flowId | ||
) |
The method actually does allocate a method id, not previously allocated.
Definition at line 75 of file MeterPool.java.
synchronized Integer org.openkilda.floodlight.switchmanager.MeterPool.deallocate | ( | final SwitchId | switchId, |
final String | flowId | ||
) |
The method actually does de-allocate a method id, not previously de-allocated.
Definition at line 88 of file MeterPool.java.
synchronized Set<Integer> org.openkilda.floodlight.switchmanager.MeterPool.getMetersByFlow | ( | final String | flowId | ) |
Definition at line 41 of file MeterPool.java.
synchronized Set<Integer> org.openkilda.floodlight.switchmanager.MeterPool.getMetersBySwitch | ( | final SwitchId | switchId | ) |
Definition at line 45 of file MeterPool.java.