Read (according to the modifiers) any matching object from the space, returning null if there currently is none. Equivalent to read, except that blocking is done only if necessary to wait for transactional state to settle.
|C#||Visual Basic||Visual C++||J#|
Function ReadIfExists(Of T) ( _ query As IQuery(Of T), _ tx As ITransaction, _ timeout As Long, _ modifiers As ReadModifiers _ ) As T
generic<typename T> T ReadIfExists( IQuery<T>^ query, ITransaction^ tx, long long timeout, ReadModifiers modifiers )
Generic Template Parameters
- Type of object to read.
A copy of the object read from the space (null if no match was found).
Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 184.108.40.20680 (220.127.116.1180)