All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.multiverse.stms.alpha.OptimisticLockingFailureException Maven / Gradle / Ivy

Go to download

Contains the main Multiverse STM Implementation: the Alpha Engine. The Alpha engine supports readonly and update transactions. It also supports the retry/or else mechanism. This not the jar you want to have in your final distribution because it isn't instrumented (hence the name unborn). The jar you eventually want to have in your distribution is the multiverse-alpha jar. What this package does, is test the instrumentation for the Javaagent. The compiletime instrumentation is tested in the multiverse-alpha package (where all tests are copied and reexecuted but now with compiletime instrumentation).

The newest version!
package org.multiverse.stms.alpha;

/**
 * A {@link RuntimeException} that indicates that an optimistic locking failure happened.
 * 

* A optimistic locking failure is thrown when the version of a tranlocal is read in one transaction, * and used together with {@link org.multiverse.stms.alpha.programmatic.AlphaProgrammaticRef#atomicCompareAndSet(Object, long)}. * * @author Peter Veentjer */ public class OptimisticLockingFailureException extends RuntimeException { public OptimisticLockingFailureException() { } public OptimisticLockingFailureException(Throwable cause) { super(cause); } public OptimisticLockingFailureException(String message) { super(message); } public OptimisticLockingFailureException(String message, Throwable cause) { super(message, cause); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy