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