org.multiverse.api.exceptions
Class LockNotFreeReadConflict
java.lang.Object
java.lang.Throwable
java.lang.Error
org.multiverse.api.exceptions.ControlFlowError
org.multiverse.api.exceptions.ReadConflict
org.multiverse.api.exceptions.LockNotFreeReadConflict
- All Implemented Interfaces:
- java.io.Serializable
public class LockNotFreeReadConflict
- extends ReadConflict
A ReadConflict that indicates that a read failed because the item was locked.
The idea is that this exception should not be thrown because you don't want a reader
to be blocked by a writer. But depending on the implementation it could happen that it can't
determine if the correct version is available. In the AlphaStm this can happen while doing the
actual commit, but will be removed in the near future.
- Author:
- Peter Veentjer.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
INSTANCE
public static final LockNotFreeReadConflict INSTANCE
reuse
public static final boolean reuse
LockNotFreeReadConflict
public LockNotFreeReadConflict()
LockNotFreeReadConflict
public LockNotFreeReadConflict(java.lang.String message)
LockNotFreeReadConflict
public LockNotFreeReadConflict(java.lang.String message,
java.lang.Throwable cause)
LockNotFreeReadConflict
public LockNotFreeReadConflict(java.lang.Throwable cause)
newLockNotFreeReadConflict
public static LockNotFreeReadConflict newLockNotFreeReadConflict()
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in class ControlFlowError
Copyright © 2008-2010 Multiverse. All Rights Reserved.