The main class for defining parallel invocations, which are executed on all keys in the map across
the cluster in a distributed manner. Instances of NamedMapInvokable are submitted to the map by calling the
InvokeTParam, TResult(NamedMapInvokableTKey, TValue, TParam, TResult, TParam)
method.
Inheritance Hierarchy
Soss.Client.ConcurrentNamedMapInvokableTKey, TValue, TParam, TResult
Namespace: Soss.Client.Concurrent
Assembly: soss_namedcache (in soss_namedcache.dll) Version: 6.2.0.0
Syntax
Type Parameters
- TKey
- The type of keys in the map.
- TValue
- The type of values in the map.
- TParam
- The type of the invocation parameter.
- TResult
- The result type.
The NamedMapInvokableTKey, TValue, TParam, TResult type exposes the following members.
Constructors
Name | Description | |
---|---|---|
NamedMapInvokableTKey, TValue, TParam, TResult(FuncTKey, TValue, TParam, TResult, FuncTResult, TResult, TParam, TResult) |
Public constructor, where the caller has to pass both the Eval and Merge delegates.
The default BinaryFormatter serializer will be used for parameter and result objects.
| |
NamedMapInvokableTKey, TValue, TParam, TResult(FuncTKey, TValue, TParam, TResult, FuncTResult, TResult, TParam, TResult, CustomSerializerTParam, CustomSerializerTResult) |
Public constructor, where the caller has to pass both the Eval and Merge delegates.
|
Properties
Name | Description | |
---|---|---|
Eval |
Returns the user defined Eval delegate which has to specified
in the public class constructor.
| |
Merge |
Returns the Merge delegate defined as the method for merging
two invocation results into one.
| |
ParameterCustomSerializer |
Returns CustomSerializerT for serializing and
deserializing the parameter object. If CustomSerializerT was not
not passed via public class constructor ,
the standard BinaryFormatter serializer will be used by default.
| |
ResultCustomSerializer |
Returns CustomSerializerT for serializing and
deserializing the result object. If CustomSerializerT was not
not passed via public class constructor ,
the standard BinaryFormatter serializer will be used by default.
|
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
EvalPartialKeySet | ||
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (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.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also