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) ( _ template As T, _ tx As ITransaction, _ timeout As Long, _ modifiers As ReadModifiers _ ) As T
generic<typename T> T ReadIfExists( T template, 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: 220.127.116.11 (18.104.22.16800)