Allows to perform a trigger receive operation which control if the active receive operation will be performed in a polling event container. This feature is mainly used when having polling event operations with transactions where the trigger receive operation is performed outside of a transaction thus reducing the creation of transactions did not perform the actual receive operation. If this method returns a non null value, it means that the receive operation should take place. If it returns a null value, no receive operation will be attempted, thus no transaction will be created.
|C#||Visual Basic||Visual C++||J#|
Function TriggerReceive ( _ template As IQuery(Of TData), _ proxy As ISpaceProxy, _ receiveTimeout As Long _ ) As IQuery(Of TData)
IQuery<TData>^ TriggerReceive( IQuery<TData>^ template, ISpaceProxy^ proxy, long long receiveTimeout )
Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 184.108.40.20600 (220.127.116.1100)
Null value when the receive operation should not be triggered, otherwise a non null value that can also be used as the receive template if UseTriggerAsTemplate is set to true.