public final class AddedFlowStats extends AbstractTxTask<Void>
AddedFlowStats keeps a list of flow statistics added by the
MD-SAL statistics manager.| Constructor and Description |
|---|
AddedFlowStats() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(IdentifiedData<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow> data)
Add the given flow information into this instance.
|
void |
apply(TxQueue txq)
Resolve MD-SAL flow IDs.
|
Void |
execute(TxContext ctx)
Modify the MD-SAL datastore using the given transaction.
|
void |
onFailure(VTNManagerProvider provider,
Throwable t)
Invoked when the task has failed.
|
addBackgroundTask, execute, getBackgroundTasks, getMaxRetry, onSuccessclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisAsync, needErrorLogpublic void add(IdentifiedData<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow> data)
data - An IdentifiedData instance which contains
flow statistics.public void apply(TxQueue txq)
txq - A TxQueue instance to run operation.public Void execute(TxContext ctx) throws VTNException
Note that this method may be called more than once when a MD-SAL datastore transaction is aborted due to data conflict.
execute in class AbstractTxTask<Void>ctx - A runtime context for transaction task.VTNException - An error occurred.public void onFailure(VTNManagerProvider provider, Throwable t)
Copyright © 2018 OpenDaylight. All rights reserved.