C# 클래스 Hangfire.Storage.JobStorageConnection

상속: IStorageConnection
파일 보기 프로젝트 열기: vip32/Hangfire.SQLite 1 사용 예제들

공개 메소드들

메소드 설명
AcquireDistributedLock ( string resource, System.TimeSpan timeout ) : IDisposable
AnnounceServer ( string serverId, Hangfire.Server.ServerContext context ) : void
CreateExpiredJob ( Hangfire.Common.Job job, string>.IDictionary parameters, System.DateTime createdAt, System.TimeSpan expireIn ) : string
CreateWriteTransaction ( ) : IWriteOnlyTransaction
Dispose ( ) : void
FetchNextJob ( string queues, CancellationToken cancellationToken ) : IFetchedJob
GetAllEntriesFromHash ( string key ) : string>.Dictionary
GetAllItemsFromList ( [ key ) : List
GetAllItemsFromSet ( string key ) : HashSet
GetCounter ( [ key ) : long
GetFirstByLowestScoreFromSet ( string key, double fromScore, double toScore ) : string
GetHashCount ( [ key ) : long
GetHashTtl ( [ key ) : System.TimeSpan
GetJobData ( string jobId ) : Hangfire.Storage.JobData
GetJobParameter ( string jobId, string name ) : string
GetListCount ( [ key ) : long
GetListTtl ( [ key ) : System.TimeSpan
GetRangeFromList ( [ key, int startingFrom, int endingAt ) : List
GetRangeFromSet ( [ key, int startingFrom, int endingAt ) : List
GetSetCount ( [ key ) : long
GetSetTtl ( [ key ) : System.TimeSpan
GetStateData ( string jobId ) : Hangfire.Storage.StateData
GetValueFromHash ( [ key, [ name ) : string
Heartbeat ( string serverId ) : void
RemoveServer ( string serverId ) : void
RemoveTimedOutServers ( System.TimeSpan timeOut ) : int
SetJobParameter ( string jobId, string name, string value ) : void
SetRangeInHash ( string key, string>.IEnumerable keyValuePairs ) : void

메소드 상세

AcquireDistributedLock() 공개 추상적인 메소드

public abstract AcquireDistributedLock ( string resource, System.TimeSpan timeout ) : IDisposable
resource string
timeout System.TimeSpan
리턴 IDisposable

AnnounceServer() 공개 추상적인 메소드

public abstract AnnounceServer ( string serverId, Hangfire.Server.ServerContext context ) : void
serverId string
context Hangfire.Server.ServerContext
리턴 void

CreateExpiredJob() 공개 추상적인 메소드

public abstract CreateExpiredJob ( Hangfire.Common.Job job, string>.IDictionary parameters, System.DateTime createdAt, System.TimeSpan expireIn ) : string
job Hangfire.Common.Job
parameters string>.IDictionary
createdAt System.DateTime
expireIn System.TimeSpan
리턴 string

CreateWriteTransaction() 공개 추상적인 메소드

public abstract CreateWriteTransaction ( ) : IWriteOnlyTransaction
리턴 IWriteOnlyTransaction

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

FetchNextJob() 공개 추상적인 메소드

public abstract FetchNextJob ( string queues, CancellationToken cancellationToken ) : IFetchedJob
queues string
cancellationToken System.Threading.CancellationToken
리턴 IFetchedJob

GetAllEntriesFromHash() 공개 추상적인 메소드

public abstract GetAllEntriesFromHash ( string key ) : string>.Dictionary
key string
리턴 string>.Dictionary

GetAllItemsFromList() 공개 메소드

public GetAllItemsFromList ( [ key ) : List
key [
리턴 List

GetAllItemsFromSet() 공개 추상적인 메소드

public abstract GetAllItemsFromSet ( string key ) : HashSet
key string
리턴 HashSet

GetCounter() 공개 메소드

public GetCounter ( [ key ) : long
key [
리턴 long

GetFirstByLowestScoreFromSet() 공개 추상적인 메소드

public abstract GetFirstByLowestScoreFromSet ( string key, double fromScore, double toScore ) : string
key string
fromScore double
toScore double
리턴 string

GetHashCount() 공개 메소드

public GetHashCount ( [ key ) : long
key [
리턴 long

GetHashTtl() 공개 메소드

public GetHashTtl ( [ key ) : System.TimeSpan
key [
리턴 System.TimeSpan

GetJobData() 공개 추상적인 메소드

public abstract GetJobData ( string jobId ) : Hangfire.Storage.JobData
jobId string
리턴 Hangfire.Storage.JobData

GetJobParameter() 공개 추상적인 메소드

public abstract GetJobParameter ( string jobId, string name ) : string
jobId string
name string
리턴 string

GetListCount() 공개 메소드

public GetListCount ( [ key ) : long
key [
리턴 long

GetListTtl() 공개 메소드

public GetListTtl ( [ key ) : System.TimeSpan
key [
리턴 System.TimeSpan

GetRangeFromList() 공개 메소드

public GetRangeFromList ( [ key, int startingFrom, int endingAt ) : List
key [
startingFrom int
endingAt int
리턴 List

GetRangeFromSet() 공개 메소드

public GetRangeFromSet ( [ key, int startingFrom, int endingAt ) : List
key [
startingFrom int
endingAt int
리턴 List

GetSetCount() 공개 메소드

public GetSetCount ( [ key ) : long
key [
리턴 long

GetSetTtl() 공개 메소드

public GetSetTtl ( [ key ) : System.TimeSpan
key [
리턴 System.TimeSpan

GetStateData() 공개 추상적인 메소드

public abstract GetStateData ( string jobId ) : Hangfire.Storage.StateData
jobId string
리턴 Hangfire.Storage.StateData

GetValueFromHash() 공개 메소드

public GetValueFromHash ( [ key, [ name ) : string
key [
name [
리턴 string

Heartbeat() 공개 추상적인 메소드

public abstract Heartbeat ( string serverId ) : void
serverId string
리턴 void

RemoveServer() 공개 추상적인 메소드

public abstract RemoveServer ( string serverId ) : void
serverId string
리턴 void

RemoveTimedOutServers() 공개 추상적인 메소드

public abstract RemoveTimedOutServers ( System.TimeSpan timeOut ) : int
timeOut System.TimeSpan
리턴 int

SetJobParameter() 공개 추상적인 메소드

public abstract SetJobParameter ( string jobId, string name, string value ) : void
jobId string
name string
value string
리턴 void

SetRangeInHash() 공개 추상적인 메소드

public abstract SetRangeInHash ( string key, string>.IEnumerable keyValuePairs ) : void
key string
keyValuePairs string>.IEnumerable
리턴 void