BatchableSource(T) Class (original) (raw)

BatchableSourceT Class

Represents a batch of items that can be split if not all items can be processed at once.

Inheritance Hierarchy

SystemObject
MongoDB.Driver.Core.MiscBatchableSourceT

Namespace: MongoDB.Driver.Core.Misc
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

public sealed class BatchableSource : IBatchableSource

Public NotInheritable Class BatchableSource(Of T) Implements IBatchableSource(Of T)

[] type BatchableSource<'T> =
class interface IBatchableSource<'T> end

Type Parameters

T

The type of the items.

The BatchableSourceT type exposes the following members.

Constructors

Properties

| | Name | Description | | | ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | Public property | AllItemsWereProcessed | Gets a value indicating whether all items were processed. | | Public property | CanBeSplit | Gets a value indicating whether the batch can be split. | | Public property | Count | Gets the count. | | Public property | Items | Gets the items. | | Public property | Offset | Gets the offset. | | Public property | ProcessedCount | Gets the count of processed items. Equal to zero until SetProcessedCount has been called. |

Top

Methods

Extension Methods

See Also

Reference