C# Класс Hangfire.Mongo.MongoFetchedJob

Hangfire fetched job for Mongo database
Наследование: IFetchedJob
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Dispose ( ) : void

Disposes the object

MongoFetchedJob ( HangfireDbContext connection, int id, string jobId, string queue ) : System

Constructs fetched job by database connection, identifier, job ID and queue

RemoveFromQueue ( ) : void

Removes fetched job from a queue

Requeue ( ) : void

Puts fetched job into a queue

Описание методов

Dispose() публичный Метод

Disposes the object
public Dispose ( ) : void
Результат void

MongoFetchedJob() публичный Метод

Constructs fetched job by database connection, identifier, job ID and queue
public MongoFetchedJob ( HangfireDbContext connection, int id, string jobId, string queue ) : System
connection Hangfire.Mongo.Database.HangfireDbContext Database connection
id int Identifier
jobId string Job ID
queue string Queue name
Результат System

RemoveFromQueue() публичный Метод

Removes fetched job from a queue
public RemoveFromQueue ( ) : void
Результат void

Requeue() публичный Метод

Puts fetched job into a queue
public Requeue ( ) : void
Результат void