TokenInMemoryCacheTKey, TValueTryAcquireCleanupLock - метод

Attempts to acquire a lock for cleaning up the cache if it hasn't already been acquired.

Definition

Пространство имён: Tessa.Tokens.Caching
Сборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
protected bool TryAcquireCleanupLock()

Возвращаемое значение

Boolean
if the lock is successfully acquired; if cache is being cleaned up in parallel, therefore the lock is not acquired.

См. также