5 references to TryScheduleEviction
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\PinnedBlockMemoryPoolFactory.cs (1)
46
pool.Key.
TryScheduleEviction
(now);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
PinnedBlockMemoryPoolTests.cs (4)
202
Assert.False(memoryPool.
TryScheduleEviction
(time));
204
Assert.True(memoryPool.
TryScheduleEviction
(time.AddSeconds(10)));
216
Assert.False(memoryPool.
TryScheduleEviction
(time.AddSeconds(10)));
219
Assert.True(memoryPool.
TryScheduleEviction
(time.AddSeconds(20)));