C# Класс Res.Core.Storage.QueueAllocation

Показать файл Открыть проект

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

Метод Описание
HasExpired ( System.DateTime utcNow ) : bool
MatchesQueue ( string context, string queueId ) : bool
MatchesQueueAndSubscriber ( string context, string queueId, string subscriberId ) : bool
QueueAllocation ( long allocationId, string queueId, string context, string subscriberId, System.DateTime expiresAtUtc, long startMarker, long endMarker ) : System
ReAllocate ( string subscriberId, System.DateTime expiresAt ) : QueueAllocation
WithinTimeRange ( EventInStorage eventInStorage ) : bool

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

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

public HasExpired ( System.DateTime utcNow ) : bool
utcNow System.DateTime
Результат bool

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

public MatchesQueue ( string context, string queueId ) : bool
context string
queueId string
Результат bool

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

public MatchesQueueAndSubscriber ( string context, string queueId, string subscriberId ) : bool
context string
queueId string
subscriberId string
Результат bool

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

public QueueAllocation ( long allocationId, string queueId, string context, string subscriberId, System.DateTime expiresAtUtc, long startMarker, long endMarker ) : System
allocationId long
queueId string
context string
subscriberId string
expiresAtUtc System.DateTime
startMarker long
endMarker long
Результат System

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

public ReAllocate ( string subscriberId, System.DateTime expiresAt ) : QueueAllocation
subscriberId string
expiresAt System.DateTime
Результат QueueAllocation

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

public WithinTimeRange ( EventInStorage eventInStorage ) : bool
eventInStorage EventInStorage
Результат bool