Curvy  8.3.0
ArrayPoolUsageData Struct Reference

Detailed Description

Data about how full an ArrayPool<T> is

Properties

int ArraysCount [get]
 The number of arrays stored in the pool More...
 
long ElementsCapacity [get]
 The maximal number of elements that the pool will keep, after they have been freed, to be available for future usage. Once this limit is reached, every freed array will simply get ignored, allowing the garbage collector to collect it More...
 
long ElementsCount [get]
 The number of elements that the pool will keep, after they have been freed, to be available for future usage. More...
 

Public Member Functions

 ArrayPoolUsageData (long elementsCount, int arraysCount, long elementsCapacity)
 
bool Equals (ArrayPoolUsageData other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
override string ToString ()
 

Static Public Member Functions

static bool operator!= (ArrayPoolUsageData a, ArrayPoolUsageData b)
 
static bool operator== (ArrayPoolUsageData a, ArrayPoolUsageData b)
 

Constructor & Destructor Documentation

ArrayPoolUsageData ( long  elementsCount,
int  arraysCount,
long  elementsCapacity 
)

Member Function Documentation

bool Equals ( ArrayPoolUsageData  other)
override bool Equals ( object  obj)
override int GetHashCode ( )
static bool operator!= ( ArrayPoolUsageData  a,
ArrayPoolUsageData  b 
)
static
static bool operator== ( ArrayPoolUsageData  a,
ArrayPoolUsageData  b 
)
static
override string ToString ( )

Property Documentation

int ArraysCount
get

The number of arrays stored in the pool

long ElementsCapacity
get

The maximal number of elements that the pool will keep, after they have been freed, to be available for future usage. Once this limit is reached, every freed array will simply get ignored, allowing the garbage collector to collect it

This is not the maximal number of arrays, but the maximal sum of the arrays' lengths

long ElementsCount
get

The number of elements that the pool will keep, after they have been freed, to be available for future usage.

This is not the maximal number of arrays, but the maximal sum of the arrays' lengths


The documentation for this struct was generated from the following file: