Shuxia Ning
2024-11-06 adf8dc1c7cae1b12f486dcdb3d7daf4a5a59ec52
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace IStation
{
    internal sealed partial class SharedMemoryCache
    {
        /// <summary>
        /// Removes a specified percentage of cache entries from the cache object
        /// </summary>
        /// <param name="percent">The percentage of total cache entries to remove</param>
        /// <returns>The number of entries removed from the cache</returns>
        public long Trim(int percent)
        {
            return this._memoryCache.Trim(percent);
        }
    }
}