Click or drag to resize
LRUK, T Class
Simple utility providing a least-recently-used order
Inheritance Hierarchy
SystemObject
  Apptus.Util.CollectionLRUK, T

Namespace:  Apptus.Util.Collection
Assembly:  Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 4.5.0
Syntax
C#
public sealed class LRU<K, T>
where T : LRUK, TNode<K>

Type Parameters

K
T

The LRUK, T type exposes the following members.

Constructors
  NameDescription
Public methodLRUK, T
Initializes a new instance of the LRUK, T class
Top
Properties
  NameDescription
Public propertyLimit
Top
Methods
  NameDescription
Public methodClear
Public methodEquals (Inherited from Object.)
Public methodGet
Get the node with the specified
key
. If no such node exists it will be created.
Public methodGetExisting
Get the node with the specified
key
. If no such node exists null will be returned.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodRemove
Remove the node with the specified
key
.
Public methodRemoveStale
Remove nodes that hasn't been touched since the specified
old
timestamp.
Public methodSize
Get the current number of nodes present in this LRU instance.
Public methodToString (Inherited from Object.)
Public methodTouch
Top
See Also