OpenMetaverse Protocol Library Developers API Documentation
ObjectPoolBase < (Of < ( <' T > ) > ) > Class
NamespacesOpenMetaverseObjectPoolBase < (Of < ( <' T > ) > ) >
Declaration Syntax
C#
public 
abstract 
class 
ObjectPoolBase<T> : 
IDisposable
where T : 
class
Generic Template Parameters
T
Members
All Members Methods Properties



Icon Member Description
CheckOut () () () ()
Checks an instance of Tfrom the pool. If the pool is not sufficient to allow the checkout, a new segment is created.

CleanupFrequencyMilliseconds
The frequence which the cleanup thread runs. This is typically expected to be in the 5 minute range.

Dispose () () () ()
Releases all resources used by the ObjectPoolBase < (Of < ( <' T > ) > ) >

ItemsPerSegment
The number of items that are in a segment. Items in a segment are all allocated at the same time, and are hopefully close to each other in the managed heap.

MinimumSegmentAgePriorToCleanup
The age a segment must be before it's eligible for cleanup. This is used to prevent thrash, and typical values are in the 5 minute range.

MinimumSegmentCount
The minimum number of segments. When segments are reclaimed, this number of segments will always be left alone. These segments are allocated at startup.

TotalSegments
The total number of segments created. Intended to be used by the Unit Tests.

Inheritance Hierarchy
Object
ObjectPoolBase < (Of < ( <' T > ) > ) >
  PacketBufferPool

Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)