public final class RollbackTxTask extends AbstractTxTask<Void>
RollbackTxTask describes the MD-SAL datastore transaction task that
rollbacks changes made by PutFlowTxTask.| Constructor and Description |
|---|
RollbackTxTask(FlowAddContext ctx)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
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 RollbackTxTask(FlowAddContext ctx)
ctx - A FlowAddContext instance.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.