Click or drag to resize
ExpiringCollectionTItem Methods

The ExpiringCollectionTItem generic type exposes the following members.

Methods
  NameDescription
Public methodChangeIntervals
Changes the intervals for the expiration of items and the interval between checks.
Public methodClear
When overridden by a derivee this clears the collection and unhooks all events.
Public methodDispose
See interface docs.
Protected methodDispose(Boolean)
Disposes of or finalises the object.
Protected methodDoRemoveExpiredItems
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.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Finalises the object.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHookHeartbeat
Hooks the heartbeat event. Must be called from within a lock.
Public methodLock
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.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnCountChanged
Called by the derivee to inform the owner of the collection that the count has changed. Always call this from within a lock.
Public methodRemoveExpiredItems
Removes expired items.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodUnhookHeartbeat
Unhooks the heartbeat service if hooked. Must be called from within a lock.
Top
See Also