IObjectPoolFactory

Description

interface Tinman.Core.System.IObjectPoolFactory<T>

Extended by

ObjectPoolFactory abstract

Base interface for classes that create objects for a pool.

Public / Methods

Delete


public method Delete → (1)

obj in : T own

[not-null]
The object.

The given object is no longer pooled and must be deleted.

New


[OwnerReturn]
public method New → ()

returns → T

The newly created object.

Creates a new pooled object.

Return


public method Return → (1)

obj in : T

[not-null]
The object that is returned to the pool.

A pooled object is about to be returned to the pool.

Use


public method Use → (1)

obj in : T

[not-null]
The object that is used again.

A pooled object is about to be used again.