Class DeviceGroupRegistryImpl
java.lang.Object
org.opendaylight.openflowplugin.impl.registry.group.DeviceGroupRegistryImpl
- All Implemented Interfaces:
AutoCloseable
,CommonDeviceRegistry<GroupId>
,DeviceGroupRegistry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add mark for specified KEY.void
appendHistoryGroup
(GroupId id, GroupTypes type, FlowGroupStatus status) void
close()
void
Iterate over all keys in device registry.void
Process marked keys.int
size()
Get device registry size.void
Store KEY in device registry.
-
Constructor Details
-
DeviceGroupRegistryImpl
-
-
Method Details
-
store
Description copied from interface:CommonDeviceRegistry
Store KEY in device registry.- Specified by:
store
in interfaceCommonDeviceRegistry<GroupId>
- Parameters:
groupId
- device registry key
-
addMark
Description copied from interface:CommonDeviceRegistry
Add mark for specified KEY.- Specified by:
addMark
in interfaceCommonDeviceRegistry<GroupId>
- Parameters:
groupId
- device registry key
-
processMarks
public void processMarks()Description copied from interface:CommonDeviceRegistry
Process marked keys.- Specified by:
processMarks
in interfaceCommonDeviceRegistry<GroupId>
-
forEach
Description copied from interface:CommonDeviceRegistry
Iterate over all keys in device registry.- Specified by:
forEach
in interfaceCommonDeviceRegistry<GroupId>
- Parameters:
consumer
- key consumer
-
size
public int size()Description copied from interface:CommonDeviceRegistry
Get device registry size.- Specified by:
size
in interfaceCommonDeviceRegistry<GroupId>
- Returns:
- device registry size
-
appendHistoryGroup
- Specified by:
appendHistoryGroup
in interfaceDeviceGroupRegistry
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCommonDeviceRegistry<GroupId>
-