CoherenceObjectPool
constructor in Coherence.Toolkit
Constructors
public CoherenceObjectPool(Func<T> createFunc, Func<T, bool> actionOnGet = null, Action<T> actionOnRelease = null, Action<T> actionOnDestroy = null, bool collectionCheck = true, int maxSize = 10000)
Parameters
| Type | Name | Description |
|---|---|---|
| Func<T> | createFunc | |
| Func<T, bool> | actionOnGet | |
| Action<T> | actionOnRelease | |
| Action<T> | actionOnDestroy | |
| bool | collectionCheck | |
| int | maxSize |