Module : transactions

Records

NotifyRequest
NotifyResponse
Participant2pcClientConfig
ParticipantFunctionResult
PrepareRequest
PrepareResponse
RemoteProtocol This represents the protocol associated with the coordination type.
RequestError
TransactionContext
TransactionParticipantConfig Contains the configurations for local transaction participant function.

Clients

Participant2pcClientEP

Functions

getCurrentTransactionId

Get the current transaction id. This function is useful for user code to save state against a transaction ID, so that when the oncommit or onabort functions registered for a transaction can retrieve that state using the transaction that is passed in to those functions.

registerParticipantWithRemoteInitiator

Registers a participant with the initiator's coordinator. This function will be called by the participant.

Constants

COMMAND_PREPARE
COMMAND_COMMIT
COMMAND_ABORT
PREPARE_RESULT_PREPARED_STR
PREPARE_RESULT_ABORTED_STR
PREPARE_RESULT_COMMITTED_STR
PREPARE_RESULT_READ_ONLY_STR
NOTIFY_RESULT_NOT_PREPARED_STR
NOTIFY_RESULT_FAILED_EOT_STR
NOTIFY_RESULT_COMMITTED_STR
NOTIFY_RESULT_ABORTED_STR
OUTCOME_COMMITTED
OUTCOME_ABORTED
TRANSACTION_UNKNOWN

Annotations

Participant

The annotation which is used to configure local transaction participant function.

Types

UProtocol