A constant Tx
with the value of Unit
.
A transaction that will always ack()
with Abort
.
Analog of Option.apply()
for Java compatibility.
A Tx
that will always commit the given value immediately.
A Tx
that will always commit the given value immediately.
Note: Updates here must also be done at com.twitter.concurrent.Txs.newConstTx().
Create a two party transaction to exchange the value msg
.
Create a two party transaction to exchange the value msg
.
a Tx
object for each participant, (sender, receiver)
Note: There is a Java-friendly API for this object: com.twitter.concurrent.Txs.