GigaSpaces XAP.NET Documentation
GigaSpaces.XAP.Events.Polling.Trigger Namespace
Class LibraryGigaSpaces.XAP.Events.Polling.Trigger
Contains classes and types to customize trigger handler in polling containers.
Declaration Syntax
C#Visual BasicVisual C++J#
namespace GigaSpaces.XAP.Events.Polling.Trigger
Namespace GigaSpaces.XAP.Events.Polling.Trigger
namespace GigaSpaces.XAP.Events.Polling.Trigger
package GigaSpaces.XAP.Events.Polling.Trigger
Types
All TypesClassesInterfaces
IconTypeDescription
ITriggerOperationHandler<(Of <(TData>)>)
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.

NonBlockingTriggerHandler<(Of <(TData>)>)
Support class to perform either non blockin or blocking trigger operation.

ReadTriggerOperationHandler<(Of <(TData>)>)
A trigger operation handler that performs read based on the provided template and returns its result.