public interface TxHook
TxHook
describes a hook for the MD-SAL datastore transaction.Modifier and Type | Method and Description |
---|---|
int |
getOrder()
Return an integer that determines the order of execution.
|
void |
run(TxContext ctx,
TxTask<?> task)
Run this hook associated with the MD-SAL datastore transaction.
|
void run(TxContext ctx, TxTask<?> task)
ctx
- A runtime context for transaction task.task
- The current transaction task.int getOrder()
Registered hooks are executed in ascending order of order values.
Copyright © 2018 OpenDaylight. All rights reserved.