8 references to PurgingMode
System.ServiceModel (8)
System\ServiceModel\Security\InMemoryNonceCache.cs (1)
60
: base(lowWaterMark, maxCachedNonces, comparer,
PurgingMode
.AccessBasedPurge, TimeSpan.FromTicks(cachingTimeSpan.Ticks >> 2), false)
System\ServiceModel\Security\NegotiationTokenAuthenticatorStateCache.cs (1)
21
: base(lowWaterMark, maximumCachedState, null,
PurgingMode
.TimerBasedPurge, TimeSpan.FromTicks(cachingSpan.Ticks >> 2), true)
System\ServiceModel\Security\SecurityContextTokenCache.cs (1)
35
: base(lowWaterMark, capacity, null,
PurgingMode
.TimerBasedPurge, purgingInterval, true)
System\ServiceModel\Security\TimeBoundedCache.cs (4)
26
PurgingMode
purgingMode;
30
protected TimeBoundedCache(int lowWaterMark, int maxCacheItems, IEqualityComparer keyComparer,
PurgingMode
purgingMode, TimeSpan purgeInterval, bool doRemoveNotification)
102
if (this.purgingMode !=
PurgingMode
.TimerBasedPurge)
358
else if (this.purgingMode ==
PurgingMode
.AccessBasedPurge && DateTime.UtcNow > this.nextPurgeTimeUtc && this.Count > this.lowWaterMark)
System\ServiceModel\Security\Tokens\WindowsUserNameCachingSecurityTokenAuthenticator.cs (1)
31
: base((maxCachedLogonTokens * lowWaterMarkFactor) / 100, maxCachedLogonTokens, StringComparer.OrdinalIgnoreCase,
PurgingMode
.TimerBasedPurge, TimeSpan.FromTicks(cachedLogonTokenLifetime.Ticks >> 2), true)