IObjectPool<T>

Interface in Nostalgia.Pool

Description

Interface for pooling class type instances

Type Parameters

Type Parameter Name Description Type Constraints
T Pool type
  • class

Properties

Property Name Description
CountInactive Number of unused instances stored in this pool

Methods

Method Name Description
Clear Clear all pooled instances.
Get Fetch an instance from the pool.
Release Return the instance to the pool.