The MemoryCache type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddEntry |
Implemented in derived classes to add a new entry to the cache
(Overrides AbstractCache..::..AddEntry(String, array<Byte>[]()[][], CachePriority).) | |
| ContainsKey |
Determines if the cache contains an entry under a given key
(Inherited from AbstractCache.) | |
| Deserialize<(Of <<'(T>)>>) |
Deserialize an object from a byte array
(Inherited from AbstractCache.) | |
| Equals | (Inherited from Object.) | |
| EvictEntry |
Called by the eviction policy to remove an item from the cache
(Inherited from AbstractCache.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEntry |
Implemented in dervied classes to retrieve an entry from the cache
(Overrides AbstractCache..::..GetEntry(String).) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Insert(String, array<Byte>[]()[][], CachePriority) |
Adds a new item to the cache
(Inherited from AbstractCache.) | |
| Insert(String, Object, CachePriority) |
Adds an object to the cache
(Inherited from AbstractCache.) | |
| ListEntries |
Provides an enumeration over the entries in the cache.
(Overrides AbstractCache..::..ListEntries()()()().) | |
| Lookup(String) |
Looks for an item in the cache and returns the bytes for that item
(Inherited from AbstractCache.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Remove |
Removes an entry from the cache
(Inherited from AbstractCache.) | |
| RemoveEntry |
Removes the entry with the specified key from the cache
(Overrides AbstractCache..::..RemoveEntry(String).) | |
| Serialize |
Serialize an object to a byte array
(Inherited from AbstractCache.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |