Table of Contents

Class LazyBalancingStrategy

Namespace
NMF.Expressions.Linq
Assembly
NMF.Expressions.Chunk.dll

Denotes the strategy to lazily balance a chunk collection

public sealed class LazyBalancingStrategy : IChunkBalancingStrategyProvider
Inheritance
LazyBalancingStrategy
Implements
Inherited Members
Extension Methods

Remarks

Lazy in this context means that elements are only reassigned to chunks when a chunk can be saved

Fields

Instance

The static instance

public static readonly LazyBalancingStrategy Instance

Field Value

LazyBalancingStrategy

Methods

CreateStrategy<T, TChunk>(IObservableChunk<T, TChunk>)

Create a strategy for the given observable chunk collection

public IChunkBalancingStrategy<T, TChunk> CreateStrategy<T, TChunk>(IObservableChunk<T, TChunk> observableChunk)

Parameters

observableChunk IObservableChunk<T, TChunk>

The observable chunk collection

Returns

IChunkBalancingStrategy<T, TChunk>

A chunk balancing strategy

Type Parameters

T

The type of items

TChunk

The type of the chunks