ExpiringCollectionTItem Methods |
The ExpiringCollectionTItem generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | ChangeIntervals |
Changes the intervals for the expiration of items and the interval between checks.
|
![]() | Clear |
When overridden by a derivee this clears the collection and unhooks all events.
|
![]() | Dispose |
See interface docs.
|
![]() | Dispose(Boolean) |
Disposes of or finalises the object.
|
![]() | DoRemoveExpiredItems |
When overridden by the derivee this should remove all items that have a timestamp that is less than or
equal to the threshold passed across.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Finalises the object.
(Overrides ObjectFinalize.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | HookHeartbeat |
Hooks the heartbeat event. Must be called from within a lock.
|
![]() | Lock |
Calls the action passed across with the list locked. Do not perform an action that will attempt
to lock the list from another thread, it will block.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnCountChanged |
Called by the derivee to inform the owner of the collection that the count has changed. Always call this
from within a lock.
|
![]() | RemoveExpiredItems |
Removes expired items.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | UnhookHeartbeat |
Unhooks the heartbeat service if hooked. Must be called from within a lock.
|