Package org.multiverse.commitbarriers
package org.multiverse.commitbarriers
-
ClassDescriptionA CommitBarrier is a blocking structure like the
CyclicBarrierbut tailored to work with transactions.An IllegalStateException that indicates that an operation was executed on the CommitBarrier while it already is opened.A synchronization aid that allows a set of threads and transaction to all wait for each other to reach a common barrier point; once this barrier is opened, all transaction atomically commit.The VetoCommitBarrier is a synchronization primitive that makes it possible to execute a 2 phase commit; so all transaction within a VetoCommitBarrier commit, or they all abort.