BsonChunkPool Constructor (original) (raw)

Initializes a new instance of the BsonChunkPool class.

Namespace: MongoDB.Bson.IO
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

public BsonChunkPool( int maxChunkCount, int chunkSize )

Public Sub New ( maxChunkCount As Integer, chunkSize As Integer )

new : maxChunkCount : int * chunkSize : int -> BsonChunkPool

Parameters

maxChunkCount

Type: SystemInt32
The maximum number of chunks to keep in the pool.

chunkSize

Type: SystemInt32
The size of each chunk.

See Also

Reference