[Overview][Types][Classes][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Pooled memory manager
Source position: pooledmm.pp line 40
type TPooledMemManager = class |
||
public |
||
property MinimumFreeCount: Integer; [rw] |
|
Minimum count of free items in the list |
property MaximumFreeCountRatio: Integer; [rw] |
|
Maximum ratio of free items over total items |
|
Number of items in the list |
|
|
Number of free items in the list |
|
property AllocatedCount: Int64; [r] |
|
Total number of allocated items in the list |
property FreedCount: Int64; [r] |
|
Total number of freed items in the list. |
procedure Clear; |
|
Clears the list |
constructor Create; |
|
Creates a new instance of the TPooledMemManager class |
destructor Destroy; override; |
|
Removes an instance of TPooledMemManager class from memory |
end; |
|
Pooled memory manager |
|
| | ||
TObject |
TPooledMemManager is a class which maintains a linked list of blocks, represented by the TPooledMemManagerItem record. It should not be used directly, but should be descended from and the descendent should implement the actual memory manager.
|
Item used in a linked list |