Cache<TKey, TValue> Constructor |
Caching class for improving performance. Oldest elements are removed as the
cache is filled up
Namespace: Lextm.SharpSnmpLib.SecurityAssembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntaxpublic Cache(
int initialCapacity
)
Public Sub New (
initialCapacity As Integer
)
Dim initialCapacity As Integer
Dim instance As New Cache(initialCapacity)
public:
Cache(
int initialCapacity
)
new :
initialCapacity : int -> Cache
Parameters
- initialCapacity Int32
- Capacity of the cache before oldest elements start to get removed
See Also