com.cloudtran.api
Class ReadConsistencyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.cloudtran.api.ReadConsistencyException
All Implemented Interfaces:
Serializable

public class ReadConsistencyException
extends RuntimeException

This exception is thrown when a read in MVCC (via NamedCache.get() within in MVCC transaction) is in doubt.

This is only thrown within an MVCC transaction. Outside of a transaction, the committed value is read.

This is thrown by GetEP_Mvcc, which in turn is called by 'get()' on a CloudTran transactional cache in MVCC mode.

An important feature of MVCC is the ability to get consistent reads across

See Consistent Reads in MVCC for more details

See Also:
Serialized Form

Constructor Summary
ReadConsistencyException()
           
ReadConsistencyException(String message)
           
 
Method Summary
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReadConsistencyException

public ReadConsistencyException()

ReadConsistencyException

public ReadConsistencyException(String message)