Class DeviceMeterRegistryImpl
java.lang.Object
org.opendaylight.openflowplugin.impl.registry.meter.DeviceMeterRegistryImpl
- All Implemented Interfaces:
AutoCloseable
,CommonDeviceRegistry<MeterId>
,DeviceMeterRegistry
-
Constructor Details
-
DeviceMeterRegistryImpl
public DeviceMeterRegistryImpl()
-
-
Method Details
-
store
Description copied from interface:CommonDeviceRegistry
Store KEY in device registry.- Specified by:
store
in interfaceCommonDeviceRegistry<MeterId>
- Parameters:
meterId
- device registry key
-
addMark
Description copied from interface:CommonDeviceRegistry
Add mark for specified KEY.- Specified by:
addMark
in interfaceCommonDeviceRegistry<MeterId>
- Parameters:
meterId
- device registry key
-
processMarks
public void processMarks()Description copied from interface:CommonDeviceRegistry
Process marked keys.- Specified by:
processMarks
in interfaceCommonDeviceRegistry<MeterId>
-
forEach
Description copied from interface:CommonDeviceRegistry
Iterate over all keys in device registry.- Specified by:
forEach
in interfaceCommonDeviceRegistry<MeterId>
- Parameters:
consumer
- key consumer
-
size
public int size()Description copied from interface:CommonDeviceRegistry
Get device registry size.- Specified by:
size
in interfaceCommonDeviceRegistry<MeterId>
- Returns:
- device registry size
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCommonDeviceRegistry<MeterId>
-