The NamedMapTKey, TValue generic type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddOrUpdate(TKey, FuncTKey, TValue, FuncTKey, TValue, TValue) |
Adds a key/value pair to NamedMapTKey, TValue if the key does not already exist,
or updates a key/value pair in the NamedMapTKey, TValue if the key already exists.
| |
AddOrUpdate(TKey, TValue, FuncTKey, TValue, TValue) |
Adds a key/value pair to the NamedMapTKey, TValue if the key does not already exist,
or updates a key/value pair in the NamedMapTKey, TValue if the key already exists.
| |
Clear |
Removes all keys and values from the NamedMapTKey, TValue.
| |
ContainsKey |
Determines whether the NamedMapTKey, TValue
contains the specified key.
| |
ContainsValue |
Returns true if there are one or more keys with the specified value.
Note: this method requires that InvocationGrid is assigned to the NamedMapTKey, TValue. | |
CreateBulkLoader |
Gets the BulkLoaderTKey, TValue view of the NamedMapTKey, TValue"/>,
which can be used to efficiently put a large number of keys in the map.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
ExecuteCount |
Retrieves the number of key/value pairs contained in the NamedMapTKey, TValue.
| |
ExecuteParallelQuery(QueryConditionTKey, TValue) |
Runs a query on the map contents with the specified QueryConditionTKey, TValue.
The operation has an infinite timeout.
If QueryConditionTKey, TValue is null, all map's keys will be returned.
Note: this method requires that an InvocationGrid is assigned to the NamedMapTKey, TValue. | |
ExecuteParallelQuery(QueryConditionTKey, TValue, TimeSpan) |
Runs a query on the map contents with the specified QueryConditionTKey, TValue.
If QueryConditionTKey, TValue is null, all map's keys will be returned.
Note: this method requires that InvocationGrid is assigned to the NamedMapTKey, TValue. | |
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.) | |
GetKeysForValue |
Searches for a specific value in the map and returns all keys this value is associated with.
Note: this method requires that InvocationGrid is assigned to the NamedMapTKey, TValue. | |
GetOrAdd(TKey, FuncTKey, TValue) |
Adds a key/value pair to the NamedMapTKey, TValue
if the key does not already exist.
| |
GetOrAdd(TKey, TValue) |
Adds a key/value pair to the NamedMapTKey, TValue
if the key does not already exist.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InvokeTParam, TResult(NamedMapInvokableTKey, TValue, TParam, TResult, TParam) |
Runs a parallel method invocation on the map contents and returns the result. The operation has an infinite timeout.
The Eval and Merge methods should be defined by the instance of the
NamedMapInvokableTKey, TValue, TParam, TResult class.
Note: this method requires that InvocationGrid is assigned to the NamedMapTKey, TValue. | |
InvokeTParam, TResult(NamedMapInvokableTKey, TValue, TParam, TResult, TParam, TimeSpan) |
Runs a parallel method invocation on the map contents and returns the result.
The Eval and Merge methods should be defined via passing instance of the
NamedMapInvokableTKey, TValue, TParam, TResult class.
Note: this method requires that InvocationGrid is assigned to the NamedMapTKey, TValue. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PutAll |
Efficiently puts contents of the specified map into the named map. This method should be
preferred to TryAdd(TKey, TValue) when updating the map with a large
number of keys and values. If the named map already contains a mapping for a key, its value
will be replaced with the value in the input map.
| |
RetrieveAllKeys |
Retrieves the collection of keys in the NamedMapTKey, TValue from the ScaleOut StateServer service.
| |
RunMapReduceMK, MV, OK, OV(NamedMapOK, OV, MapperTKey, TValue, MK, MV, CombinerMK, MV, ReducerMK, MV, OK, OV, TimeSpan) |
Provides a simple and fast way to perform a MapReduce operation that does not require Hadoop infrastructure.
| |
RunMapReduceMK, MV, OK, OV(NamedMapTKey, TValue, NamedMapOK, OV, MapperTKey, TValue, MK, MV, CombinerMK, MV, ReducerMK, MV, OK, OV, TimeSpan) |
Provides a simple and fast way to perform a MapReduce operation that does not require Hadoop infrastructure.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryAdd |
Attempts to add the specified key and value to the NamedMapTKey, TValue.
| |
TryGetValue |
Attempts to get the value associated with the specified key from the NamedMapTKey, TValue.
| |
TryRemove(TKey) |
Attempts to remove the value with the specified key from the NamedMapTKey, TValue.
| |
TryRemove(TKey, RemoveBehavior, TValue) |
Attempts to remove and return the value with the specified key from the NamedMapTKey, TValue.
If the parameter is set to the
RemoveBehaviorOptions.DoNotReturnValue, the value is removed and is not returned via the
value parameter to optimize the method call performance.
| |
TryUpdate(TKey, TValue) |
Updates the key with a newValue value.
| |
TryUpdate(TKey, TValue, TValue) |
Compares the existing value for the specified key with a specified value,
and if they are equal, updates the key with a third value.
|
See Also