| ExpiringListT Methods |
The ExpiringListT generic type exposes the following members.
| Name | Description | |
|---|---|---|
| Add |
Adds the item to the list.
| |
| AddOrRefresh |
Adds the item if it is not already in the list. If it is in the list then its
timestamp is refreshed to the current time.
| |
| AddRange |
Adds a range of items to the list.
| |
| AddRangeOrRefresh |
Adds a range of items to the list. Items that already exist in the list have their timestamps refreshed.
| |
| ChangeIntervals |
Changes the intervals for the expiration of items and the interval between checks.
(Inherited from ExpiringCollectionTItem.) | |
| Clear |
Empties the list.
(Overrides ExpiringCollectionTItemClear.) | |
| Dispose |
See interface docs.
(Inherited from ExpiringCollectionTItem.) | |
| Dispose(Boolean) |
Disposes of or finalises the object.
(Inherited from ExpiringCollectionTItem.) | |
| DoRemoveExpiredItems |
See base docs.
(Overrides ExpiringCollectionTItemDoRemoveExpiredItems(DateTime).) | |
| Equals | (Inherited from Object.) | |
| Finalize |
Finalises the object.
(Inherited from ExpiringCollectionTItem.) | |
| Find |
Returns the item that matches the predicate or null if no such item exists.
| |
| FindAll |
Returns all of the items that match the predicate or an empty list if no such items exist.
| |
| FindAllAndRefresh |
Returns all of the items that match the predicate or an empty list if no such items exist.
Refreshes the timestamps for all of the items returned.
| |
| FindAndRefresh |
Returns the item that matches the predicate or null if no such item exists. Refreshes
the timestamp for the item.
| |
| FindCollectionItem |
Finds the collection item for the item passed across.
| |
| 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.
(Inherited from ExpiringCollectionTItem.) | |
| 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.
(Inherited from ExpiringCollectionTItem.) | |
| 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.
(Inherited from ExpiringCollectionTItem.) | |
| RefreshAll |
Refreshes the timestamps on every item in the list.
| |
| Remove |
Removes the item from the list.
| |
| RemoveExpiredItems |
Removes expired items.
(Inherited from ExpiringCollectionTItem.) | |
| RemoveRange |
Removes a range of items from the list.
| |
| Snapshot |
Returns a clone of the contents of the list.
| |
| SnapshotAndRefresh |
Returns a clone of every item in the list. Refreshes the timestamps on every item.
| |
| 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.
(Inherited from ExpiringCollectionTItem.) |