A class that describes the reason that a commit barrier member was not committed.
A participant in a synchronized group commit.
The CancelCause
used when some members of the commit barrier
conflict with each other.
The CancelCause
used when a member of the commit barrier cannot commit
due to an uncaught exception (see Txn.UncaughtExceptionCause
).
A CancelCause
provided for users of commit barriers, not used by the
STM itself.
The CancelCause
used when the addMember
call that created a member
was from inside a transaction that later rolled back.
The CancelCause
used when some members of the commit barrier did not
finish in time.
Constructs and returns a new CommitBarrier
in which each member will
wait at most timeout
unit
for other members of the barrier to
become ready to commit.
Constructs and returns a new CommitBarrier
in which each member will
wait at most timeout
unit
for other members of the barrier to
become ready to commit. If timeout occurs all members will be
cancelled with a CancelCause
of Timeout
. Each commit barrier may
be used for at most one coordinated commit (it is not cyclic).