Uses of Annotation Interface
com.tailf.dp.annotations.TransCallback

Packages that use TransCallback
Package
Description
Data provider API package, for implementation of callbacks for validations, actions, transformation etc.
  • Uses of TransCallback in com.tailf.dp

    Methods in com.tailf.dp with annotations of type TransCallback
    Modifier and Type
    Method
    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.