case classMemberCycle(debugInfo: Any) extends CancelCause with Product with Serializable
The CancelCause used when some members of the commit barrier
conflict with each other. Since the commit barrier can only succeed
if all of them commit simultaneously this would lead to a deadlock, so
the entire commit barrier is instead cancelled. This cancel cause
implies that all members were eventually cancelled.
debugInfo is optional information provided by the STM implementation
to help locate the source of the avoided deadlock. If provided it
might be one of the Refs in the cycle, or it might be a String
describing the cycle.
Linear Supertypes
Serializable, java.io.Serializable, Product, Equals, CancelCause, AnyRef, Any
The
CancelCause
used when some members of the commit barrier conflict with each other. Since the commit barrier can only succeed if all of them commit simultaneously this would lead to a deadlock, so the entire commit barrier is instead cancelled. This cancel cause implies that all members were eventually cancelled.debugInfo
is optional information provided by the STM implementation to help locate the source of the avoided deadlock. If provided it might be one of theRef
s in the cycle, or it might be aString
describing the cycle.