Table of Contents

Class DefaultParquetBufferPool

Namespace
Plank
Assembly
Plank.dll

Pools aligned native buffers and learns how many buffers of each size the process reuses.

public sealed class DefaultParquetBufferPool : IParquetBufferPool, IDisposable
Inheritance
DefaultParquetBufferPool
Implements
Inherited Members
Extension Methods

Constructors

DefaultParquetBufferPool()

DefaultParquetBufferPool(ParquetBufferRetentionPolicy)

Parameters

retentionPolicy ParquetBufferRetentionPolicy

DefaultParquetBufferPool(ParquetBufferRetentionPolicy, long)

public DefaultParquetBufferPool(ParquetBufferRetentionPolicy retentionPolicy, long maximumRetainedBytes)

Parameters

retentionPolicy ParquetBufferRetentionPolicy
maximumRetainedBytes long

Fields

Shared

Gets the process-wide pool, using adaptive p99 retention.

public static readonly DefaultParquetBufferPool Shared

Field Value

DefaultParquetBufferPool

Properties

MaximumRetainedBytes

Gets the hard limit on idle native bytes retained by this pool.

public long MaximumRetainedBytes { get; }

Property Value

long

RetainedBytes

Gets the number of idle native bytes currently retained by this pool.

public long RetainedBytes { get; }

Property Value

long

RetentionPolicy

Gets the policy used to choose how many idle buffers to retain.

Property Value

ParquetBufferRetentionPolicy

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

~DefaultParquetBufferPool()

Rent(uint)

public ParquetBuffer Rent(uint minimumByteLength)

Parameters

minimumByteLength uint

Returns

ParquetBuffer

Trim()

Releases every idle buffer without resetting learned demand.

public void Trim()