Interface ICombinerFactory
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Obsolete("This feature is not in active development and may be removed in a future update.")]
public interface ICombinerFactory
Methods
Create(Object)
This method will provide the incoming element with a new instance of the Combiner so that it merges the intermediate key-value pairs from the Mapper.
Declaration
ICombiner Create(object key)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | Key for new Combiner |
Returns
Type | Description |
---|---|
ICombiner | New instance of ICombiner. |
Examples
Following example demonstrates the implementation of create.
public ICombiner Create(object key)
{
WordCountCombiner wcCombiner = new WordCountCombiner(); //new instance of combiner.
return wcCombiner;
}