public final class FlowRemoveContext extends FlowModContext<Void,RemovedFlows>
FlowRemoveContext describes a runtime context for removing
VTN data flows.| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG
Logger instance used for logging of flow uninstallation.
|
| Constructor and Description |
|---|
FlowRemoveContext(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService sfs,
VTNThreadPool thread,
FlowRemover remover)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
FlowRemover |
getFlowRemover()
Returh the flow remover.
|
RemovedFlows |
getRemovedFlows()
Return a
RemovedFlows instance. |
String |
getRemoverDescription()
Return the description about the flow remover.
|
DeleteFlowTxTask |
newDatastoreTask(TxQueue txq)
Create a new MD-SAL DS task that deletes VTN data flows.
|
void |
setRemovedFlows(RemovedFlows removed)
Set VTN data flows to be removed.
|
getContextFuture, getFlowService, getFlowThread, setFailure, setResultpublic static final org.slf4j.Logger LOG
public FlowRemoveContext(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService sfs,
VTNThreadPool thread,
FlowRemover remover)
sfs - A SalFlowService instance.thread - A VTNThreadPool instance used to uninstall flow
entries.remover - A FlowRemover instance.public FlowRemover getFlowRemover()
FlowRemover instance.public String getRemoverDescription()
public void setRemovedFlows(RemovedFlows removed)
removed - A RemovedFlows instance which specifies flow
entries to be removed.public RemovedFlows getRemovedFlows()
RemovedFlows instance.RemovedFlows instance which specifies flow entries
to be removed.public DeleteFlowTxTask newDatastoreTask(TxQueue txq)
newDatastoreTask in class FlowModContext<Void,RemovedFlows>txq - A MD-SAL DS transaction queue.Copyright © 2018 OpenDaylight. All rights reserved.