C# 클래스 Res.Core.Storage.QueueAllocation

파일 보기 프로젝트 열기: heartysoft/res

공개 메소드들

메소드 설명
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