public abstract class AbstractPreSubmitHook extends Object implements TxHook
AbstractPreSubmitHook describes an abstract implementation of
a pre-submit hook for the MD-SAL datastore transaction.
TxHook.run(TxContext, TxTask) on this instance will be invoked
when the MD-SAL datastore transaction is going to be submitted.
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPreSubmitHook(TxContext ctx)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
TxContext |
getContext()
Return the runtime context for the MD-SAL datastore transaction.
|
protected AbstractPreSubmitHook(TxContext ctx)
ctx - A runtime context for transaction task.Copyright © 2018 OpenDaylight. All rights reserved.