Class AggregatorReducerFactory
Assigns a unique Reducer for each provided key.
Inheritance
System.Object
AggregatorReducerFactory
Namespace:
Assembly: Alachisoft.NCache.Web.dll
Syntax
[Serializable]
public class AggregatorReducerFactory : IReducerFactory
AggregatorReducerFactory(IAggregator, Type)
Construtor to initialize instance of class.
Declaration
public AggregatorReducerFactory(IAggregator aggregator, Type classType)
Parameters
Type | Name | Description |
---|---|---|
IAggregator | aggregator | instance of IAggregator |
System.Type | classType | Class data type |
Create(Object)
Provides incoming element with a new instance of Reducer to merge intermediate key-value pairs from Combiner.
Declaration
public IReducer Create(object key)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | Key for new Reducer |
Returns
Type | Description |
---|---|
IReducer | New instance of IReducer. |