public abstract class TxEvent extends AbstractTxTask<Void>
| Constructor and Description |
|---|
TxEvent() |
| Modifier and Type | Method and Description |
|---|---|
protected Void |
execute(TxContext ctx)
Deliver this event on a MD-SAL datastore transaction queue.
|
TxContext |
getTxContext()
Return a runtime context for transaction task.
|
boolean |
isAsync()
Determine whether this instance is associated with an asynchronous
task or not.
|
protected abstract void |
notifyEvent()
Notify this event to event listener.
|
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, waitneedErrorLogprotected Void execute(TxContext ctx) throws VTNException
execute in class AbstractTxTask<Void>ctx - A runtime context for transaction task.null.VTNException - An error occurred.public final TxContext getTxContext()
TxContext instance.protected abstract void notifyEvent()
throws VTNException
VTNException - An error occurred.public final boolean isAsync()
This method always returns true because this instance is
associated with an asynchronous event task.
true.public void onFailure(VTNManagerProvider provider, Throwable t)
This method of this class does nothing.
Copyright © 2018 OpenDaylight. All rights reserved.