ReadModifiers.h File Reference


Detailed Description


Enumerations

enum  ReadModifiers {
  REPEATABLE_READ = Modifiers::NONE, DIRTY_READ = Modifiers::DIRTY_READ, READ_COMMITTED = Modifiers::READ_COMMITTED, EXCLUSIVE_READ_LOCK = Modifiers::EXCLUSIVE_READ_LOCK,
  THROW_PARTIAL_FAILURE = Modifiers::THROW_PARTIAL_FAILURE
}
 The modifiers that specifically relate to the read operations of the Space. More...


Enumeration Type Documentation

enum ReadModifiers

The modifiers that specifically relate to the read operations of the Space.

They are also known as isolation level flags, as they are part of the Locking and Blocking mechanism in the space.

Author:
Irit Rosdeutscher
See also:
SpaceProxy
Enumerator:
REPEATABLE_READ  Allows read operations to have visibility of entries that are not write-locked or exclusively-locked by active transactions. This is the default read isolation-level.
DIRTY_READ  Allows non-transactional read operations to have full visibility of the entries in the space, including entries that are exclusively-locked.
READ_COMMITTED  Allows read operations to have visibility of already committed entries, regardless of the fact that these entries might be updated (with a newer version) or taken under an uncommitted transaction.
EXCLUSIVE_READ_LOCK  Allows read operations to have exclusive visibility of entries that are not locked by active transactions. Once exclusively locked, no other transactional operation is allowed. This supports the ability to perform reads in a "SELECT FOR UPDATE" fashion.
THROW_PARTIAL_FAILURE  The modifier will cause an exception to be thrown when not all of the requested number of entries are returned and one or more cluster members are not available.


Generated on Thu Jul 22 08:11:54 2010 for GigaSpaces XAP 9.7 C++ by  doxygen 1.5.3