ExpiredTokenPeriodicWorker - класс

A worker that periodically removes expired tokens from the database.

Definition

Пространство имён: Tessa.Tokens
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public sealed class ExpiredTokenPeriodicWorker : IPeriodicWorker
Inheritance
Object    ExpiredTokenPeriodicWorker
Implements
IPeriodicWorker

Конструкторы

ExpiredTokenPeriodicWorker A worker that periodically removes expired tokens from the database.

Свойства

IsEnabled Признак того, что обработчик активен. Если он не активен до первого срабатывания DoWorkAsync(CancellationToken) по таймеру, то обработчик не используется. Если он активен после этого, то дальнейшие вызовы DoWorkAsync(CancellationToken) не выполняются. Неактивный обработчик не может стать активным.

Методы

DoWorkAsync Периодически выполняемая задача.
EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetNextPeriod Возвращает период последующего выполнения действия DoWorkAsync(CancellationToken).
GetTypeGets the Type of the current instance.
(Унаследован от Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
ToStringReturns a string that represents the current object.
(Унаследован от Object)

См. также