Support class to perform either non blockin or blocking trigger operation.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ | J# |
public abstract class NonBlockingTriggerHandler<TData> : ITriggerOperationHandler<TData>
Public MustInherit Class NonBlockingTriggerHandler(Of TData) _ Implements ITriggerOperationHandler(Of TData)
generic<typename TData> public ref class NonBlockingTriggerHandler abstract : ITriggerOperationHandler<TData>
![](../icons/collapse_all.gif)
- TData
- Type of data to trigger.
![](../icons/collapse_all.gif)
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | NonBlockingTriggerHandler<(Of <(TData>)>)()()() | Initializes a new instance of the NonBlockingTriggerHandler<(Of <(TData>)>) class |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() | GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | NonBlocking |
Gets or sets whether to perform the operation in a non blocking manner.
|
![]() | NonBlockingFactor |
Gets or sets the non blocking factor if NonBlocking is true.
For instance if its value is 10 and the receive timeout of the operation is 1 seconds,
The operation will be executed 10 times with intervals of 100 miliseconds between each executions.
|
![]() | ToString()()() | (Inherited from Object.) |
![]() | TriggerBlocking(IQuery<(Of <(TData>)>), ISpaceProxy, Int64) |
Executes trigger operation logic in blocking mode
|
![]() | TriggerNonBlocking(IQuery<(Of <(TData>)>), ISpaceProxy) |
Executes trigger operation logic in non blocking mode
|
![]() | TriggerReceive(IQuery<(Of <(TData>)>), ISpaceProxy, Int64) |
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.
|
![]() | UseTriggerAsTemplate |
Gets if the object that return from the TriggerReceive(IQuery<(Of <(TData>)>), ISpaceProxy, Int64) operation should be used as the
receive template instead of the configured template.
|
![](../icons/collapse_all.gif)
Object | ||
![]() | NonBlockingTriggerHandler<(Of <(TData>)>) | |
![]() | ReadTriggerOperationHandler<(Of <(TData>)>) |