Interface DeviceFlowRegistry
-
- All Superinterfaces:
AutoCloseable
,CommonDeviceRegistry<FlowRegistryKey>
- All Known Implementing Classes:
DeviceFlowRegistryImpl
public interface DeviceFlowRegistry extends CommonDeviceRegistry<FlowRegistryKey>
Registry for mapping composite-key of flow (FlowRegistryKey
) from device view to flow descriptor (FlowDescriptor
) as the identifier of the same flow in data store.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clearFlowRegistry()
com.google.common.util.concurrent.ListenableFuture<List<Optional<FlowCapableNode>>>
fill()
@Nullable FlowDescriptor
retrieveDescriptor(@NonNull FlowRegistryKey flowRegistryKey)
void
storeDescriptor(@NonNull FlowRegistryKey flowRegistryKey, @NonNull FlowDescriptor flowDescriptor)
-
Methods inherited from interface org.opendaylight.openflowplugin.api.openflow.registry.CommonDeviceRegistry
addMark, close, forEach, processMarks, size, store
-
-
-
-
Method Detail
-
fill
com.google.common.util.concurrent.ListenableFuture<List<Optional<FlowCapableNode>>> fill()
-
storeDescriptor
void storeDescriptor(@NonNull FlowRegistryKey flowRegistryKey, @NonNull FlowDescriptor flowDescriptor)
-
retrieveDescriptor
@Nullable FlowDescriptor retrieveDescriptor(@NonNull FlowRegistryKey flowRegistryKey)
-
clearFlowRegistry
void clearFlowRegistry()
-
-