C# Class Res.Core.Storage.QueueAllocation

Afficher le fichier Open project: heartysoft/res

Méthodes publiques

Méthode Description
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

Method Details

HasExpired() public méthode

public HasExpired ( System.DateTime utcNow ) : bool
utcNow System.DateTime
Résultat bool

MatchesQueue() public méthode

public MatchesQueue ( string context, string queueId ) : bool
context string
queueId string
Résultat bool

MatchesQueueAndSubscriber() public méthode

public MatchesQueueAndSubscriber ( string context, string queueId, string subscriberId ) : bool
context string
queueId string
subscriberId string
Résultat bool

QueueAllocation() public méthode

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
Résultat System

ReAllocate() public méthode

public ReAllocate ( string subscriberId, System.DateTime expiresAt ) : QueueAllocation
subscriberId string
expiresAt System.DateTime
Résultat QueueAllocation

WithinTimeRange() public méthode

public WithinTimeRange ( EventInStorage eventInStorage ) : bool
eventInStorage EventInStorage
Résultat bool