|
static readonly int | DEFAULT_MAX_POOL_SIZE = 10 |
| The default maximum pool size to use if not otherwise configured.
|
|
|
int | MaxPoolSize [get] |
| Returns the configured maximum pool size which indicates how many elements can be pooled before new non-pooled values are created when a request arrives but all the current elements are on loan.
|
|
◆ AmqpPerformativeEnvelopePool() [1/2]
Create a new envelope pool using the default pool size.
- Parameters
-
envelopeBuilder | A function that can build the envelopes |
◆ AmqpPerformativeEnvelopePool() [2/2]
Create a new envelope pool using the given pool size.
- Parameters
-
envelopeBuilder | A function that can build the envelopes |
maxPoolSize | The maximum number of entries in the pool |
◆ Take()
Request to borrow a pooled object or create a new non-pooled instance if no pooled values are available.
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- src/Proton/Engine/AmqpPerformativeEnvelopePool.cs