tangxu
2024-05-29 a25fc0ffe958458e2d05dcd8f826a5bf81b84349
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);
        }
    }
}