Package | Description |
---|---|
com.tailf.dp |
Data provider API package, for implementation of callbacks for validations, actions, transformation etc.
|
Modifier and Type | Method and Description |
---|---|
void |
DpTransCallback.abort(DpTrans trans)
This callback is responsible for
undoing whatever was done in the prepare() phase.
|
void |
DpTransCallback.commit(DpTrans trans)
This callback is responsible for
undoing whatever was done in the prepare() phase.
|
void |
DpTransCallback.finish(DpTrans trans)
This callback is responsible for
releasing resources allocated in the init() phase.
|
void |
DpTransCallback.init(DpTrans trans)
The callback must indicate which WORKER_SOCKET
should be used for future communications in this transaction.
|
void |
DpTransCallback.prepare(DpTrans trans)
If we have multiple sources of data it is highly recommended
that the callback is implemented.
|
void |
DpTransCallback.transLock(DpTrans trans)
This callback is invoked when the validation phase of the transaction
starts.
|
void |
DpTransCallback.transUnlock(DpTrans trans)
This callback is called when the validation of the transaction
failed, or the validation is triggered explicitly (i.e.
|
void |
DpTransCallback.writeStart(DpTrans trans)
This callback is invoked when the validation succeeded and the
write phase of the transaction starts.
|