Share via


AdlsArrayPool<T> Class

Definition

Abstract class built on top of ArrayPool that exposes async methods of Rent Return

public abstract class AdlsArrayPool<T> : System.Buffers.ArrayPool<T>
type AdlsArrayPool<'T> = class
    inherit ArrayPool<'T>
Public MustInherit Class AdlsArrayPool(Of T)
Inherits ArrayPool(Of T)

Type Parameters

T
Inheritance
AdlsArrayPool<T>

Constructors

AdlsArrayPool<T>()

Methods

Rent(Int32)

Synchronous method of renting buffer.

RentAsync(Int32)

Asynchronous method of renting buffer

Return(T[], Boolean)

Synchronous method to return an array to the pool that was previously obtained using the Rent(Int32) method on the same AdlsArrayPool<T> instance

ReturnAsync(T[], Boolean)

Asynchronous method to return an array to the pool that was previously obtained using the RentAsync(Int32) method on the same AdlsArrayPool<T> instance

Applies to