A trigger operation handler that performs read based on the provided template and returns its
result.
| C# | Visual Basic | Visual C++ | J# |
public class ReadTriggerOperationHandler<TData> : NonBlockingTriggerHandler<TData>
Public Class ReadTriggerOperationHandler(Of TData) _ Inherits NonBlockingTriggerHandler(Of TData)
generic<typename TData> public ref class ReadTriggerOperationHandler : public NonBlockingTriggerHandler<TData>
- TData
- Type of data to trigger.
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| ReadTriggerOperationHandler<(Of <(TData>)>)()()() | Initializes a new instance of the ReadTriggerOperationHandler<(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.
(Inherited from NonBlockingTriggerHandler<(Of <(TData>)>).) | |
| 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.
(Inherited from NonBlockingTriggerHandler<(Of <(TData>)>).) | |
| ToString()()() | (Inherited from Object.) | |
| TriggerBlocking(IQuery<(Of <(TData>)>), ISpaceProxy, Int64) |
Executes trigger operation logic in blocking mode
(Overrides NonBlockingTriggerHandler<(Of <(TData>)>).TriggerBlocking(IQuery<(Of <(TData>)>), ISpaceProxy, Int64).) | |
| TriggerNonBlocking(IQuery<(Of <(TData>)>), ISpaceProxy) |
Executes trigger operation logic in non blocking mode
(Overrides NonBlockingTriggerHandler<(Of <(TData>)>).TriggerNonBlocking(IQuery<(Of <(TData>)>), ISpaceProxy).) | |
| 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.
(Inherited from NonBlockingTriggerHandler<(Of <(TData>)>).) | |
| 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.
(Overrides NonBlockingTriggerHandler<(Of <(TData>)>).UseTriggerAsTemplate.) |
| Object | ||
| NonBlockingTriggerHandler<(Of <(TData>)>) | ||
| ReadTriggerOperationHandler<(Of <(TData>)>) | ||
