T - The type of the flow remover.public class RemovedDataFlows<T extends FlowRemover> extends Object implements RemovedFlows
RemovedDataFlows describes a list of VTN data flows removed by
FlowRemover.| Constructor and Description |
|---|
RemovedDataFlows(TxContext ctx,
T remover)
Construct an empty instance.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getFlowRemover()
Return the flow remover.
|
VTNManagerProvider |
getProvider()
Return the VTN Manager provider service.
|
boolean |
isEmpty()
Determine whether this instance is empty or not.
|
protected RemoveFlowRpcList |
removeFlowEntries(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService sfs,
List<FlowCache> flows,
InventoryReader reader)
Remove the given flow entries.
|
RemoveFlowRpcList |
removeFlowEntries(TxContext ctx,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService sfs)
Remove flow entries specified by this instance.
|
public RemovedDataFlows(TxContext ctx, T remover)
ctx - The MD-SAL datastore transaction context.remover - A FlowRemover instance that removed data flows.public final VTNManagerProvider getProvider()
public final T getFlowRemover()
FlowRemover instance.protected RemoveFlowRpcList removeFlowEntries(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService sfs, List<FlowCache> flows, InventoryReader reader) throws VTNException
sfs - MD-SAL flow service.flows - A VTN data flows to be removed.reader - An InventoryReader instance.RemoveFlowRpcList instance.VTNException - An error occurred.public final RemoveFlowRpcList removeFlowEntries(TxContext ctx, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService sfs) throws VTNException
removeFlowEntries in interface RemovedFlowsctx - A runtime context for read-only transaction task.sfs - MD-SAL flow service.RemoveFlowRpcList instance.VTNException - An error occurred.public final boolean isEmpty()
isEmpty in interface RemovedFlowstrue if this instance does not specifies flow entry
to be removed. Otherwise false.Copyright © 2018 OpenDaylight. All rights reserved.