Contains classes and types to customize trigger handler in polling containers.
|C#||Visual Basic||Visual C++||J#|
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 the TriggerReceive(IQuery<(Of <(TData>)>), ISpaceProxy, Int64) 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. A trigger operation handler can also control if the object returned from TriggerReceive(IQuery<(Of <(TData>)>), ISpaceProxy, Int64) will be used as the template for the receive operation by returning true in UseTriggerAsTemplate. If false is returned, the actual template configured in the polling event container will be used.
Support class to perform either non blockin or blocking trigger operation.
A trigger operation handler that performs read based on the provided template and returns its result.